"Dmitry V. Levin" <ldv@xxxxxxxxxxxx> writes: > Right now one can amend the last non-merge commit using a dirty index > and in the process maybe cause the last commit to have the same tree > as its parent. In such a case one would want to discard the last commit > instead of amending it. This makes sense, as the previous test was not testing what needs to be tested. Applied. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html