From: Junio C Hamano Date: Fri, 20 Apr 2007 11:17:51 GMT Subject: Re: [PATCH] git-add -u: match the index with working tree. Message-ID: <7vejmfz44g.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070420104930.GB13560@diana.vm.bytemark.co.uk> Karl Hasselström 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] [--] ..."; >> +"git-add [-n] [-v] [-f] [--interactive | -i] [-u] [--] ..."; > > Any particular reason for choosing a different letter than the > -a/--all that git commit uses? 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.