t / t7500 / add-content-and-commenton commit regex: -G<pattern> feeds a non NUL-terminated string to regexec() and fails (db5dfa3)
   1#!/bin/sh
   2echo "commit message" >> "$1"
   3echo "# comment" >> "$1"
   4exit 0
   5