t / t7500 / add-whitespaced-contenton commit use strbuf_complete_line() for adding a newline if needed (a0d4923)
   1#!/bin/sh
   2sed -e 's/|$//' >>"$1" <<\EOF
   3
   4 |
   5commit message           |
   6
   7EOF
   8exit 0