t / t7500 / add-whitespaced-contenton commit bash prompt: print unique detached HEAD abbreviated object name (e8f21ca)
   1#!/bin/sh
   2sed -e 's/|$//' >>"$1" <<\EOF
   3
   4 |
   5commit message           |
   6
   7EOF
   8exit 0