On 4/20/07, Junio C Hamano <junkio@xxxxxxx> wrote:
Karl Hasselström <kha@xxxxxxxxxxx> writes: > On 2007-04-20 01:42:18 -0700, Junio C Hamano wrote: > >> This is a shorthand of what "git commit -a" does in preparation >> for making a commit, > [snip] >> -"git-add [-n] [-v] [-f] [--interactive | -i] [--] <filepattern>..."; >> +"git-add [-n] [-v] [-f] [--interactive | -i] [-u] [--] <filepattern>..."; > > Any particular reason for choosing a different letter than the > -a/--all that git commit uses? Haven't I explain that elsewhere already?
Yes, in <7vzm531ly3.fsf@xxxxxxxxxxxxxxxxxxxxxxxx>. Specifically:
I picked "-u" instead of "-a" because I wanted to stress that this is about "updating" (which has connotation that it is relative to something, and in this case it is relative to the current "index"), and not about "all", which "-a" would imply.
nikolai - 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