Content-Type: text/shitpost

Subject: Today I learned…
Path: you​!your-host​!wintermute​!hardees​!m5​!plovergw​!shitpost​!mjd
Date: 2018-02-28T15:02:11
Newsgroup: rec.pets.git.weird-hacks
Message-ID: <>
Content-Type: text/shitpost

git-commit-tree won't create a merge commit where two of the parents are identical.

% echo Planarian power | git commit-tree HEAD^{tree} -p HEAD -p HEAD
error: duplicate parent 3627118bf5d5e1af75a10f640c1aee9c397d257e ignored
% git log -1 --pretty=%p 9f41d9f782ff9800558f8317840d0dab3ee961cc

Darn it, Git, I wanted to shoot my foot off!