Re: [PATCH 1/2] do not mangle short options which take arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]