t / t7500 / add-commentson commit for-each-ref: do not segv with %(HEAD) on an unborn branch (84679d4)
   1#!/bin/sh
   2echo "# this is a new comment" >> "$1"
   3echo "# and so is this" >> "$1"
   4exit 0