Maintaining a consistent linear history for git log --first-parent · HackerTrans