"Phillip Wood via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > From: Phillip Wood <phillip.wood@xxxxxxxxxxxxx> > > This fixes a regression introduced in 356ee4659b ("sequencer: try to > commit without forking 'git commit'", 2017-11-24). When amending a > commit try_to_commit() was using the wrong parent when checking if the > commit would be empty. When amending we need to check against HEAD^ not > HEAD. Thanks. That makes sense. If you compare with HEAD and find there is no difference, that would mean that the "amend" itself is a no-op (i.e. the user said they want to make changes, but after all changed their mind)? It might be something worth noticing, but certainly not in the same way as "we were told to skip an empty commit---is this one empty?" gets treated.