t / t7500 / add-commentson commit use xgetcwd() to set $GIT_DIR (4d3ab44)
   1#!/bin/sh
   2echo "# this is a new comment" >> "$1"
   3echo "# and so is this" >> "$1"
   4exit 0