2023/05/16
That there are instances where a git commit-message can start with a #:
set -eu
experiment="$(mkdtemp -d)"
cd "$experiment"
git init#
touch readme && git add readme
git commit -m "# not a comment, apparently"
actual="$(cat ./.git/COMMIT_EDITMSG)"
expected="# not a comment, apparently"
test "$actual" = "$expected"
git log
# <hash>
# # not a comment, apparently