Allow amend commits in FakeGitRepository even when index matches HEAD
Richard Feldman
created
Real git allows amend commits to rewrite the commit message even when
the tree is unchanged. The fake implementation was rejecting these
with 'nothing to commit', breaking git_panel::tests::test_amend.