On 10/02/2009 09:36 AM, Clemens Buchacher wrote:
Well, an error message is a lot safer than executing something you did not intend.
If this is just for double --amend typos I don't see the need. What you intended is just one "git rebase -i HEAD^^" away.
Notice that in Shawn's original example the guy actually passed -a too, so he would not even have the problem of overwriting the index due to -a.
If you have bouncy fingers, you can just make an alias ammend-fix = git reset --soft HEAD^ && git gui citool Paolo -- 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