t / t7500 / add-whitespaced-contenton commit try_remove_empty_parents(): teach to remove parents of reflogs, too (a8f0db2)
   1#!/bin/sh
   2sed -e 's/|$//' >>"$1" <<\EOF
   3
   4 |
   5commit message           |
   6
   7EOF
   8exit 0