t / t7500 / add-contenton commit for-each-ref: do not segv with %(HEAD) on an unborn branch (84679d4)
   1#!/bin/sh
   2echo "commit message" >> "$1"
   3exit 0