Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] git-add -u: match the index with working tree.

From: Nikolai Weibull <hidden>
Date: 2016-06-15 22:43:06

On 4/20/07, Junio C Hamano [off-list ref] wrote:
Karl Hasselström [off-list ref] writes:
quoted
On 2007-04-20 01:42:18 -0700, Junio C Hamano wrote:
quoted
This is a shorthand of what "git commit -a" does in preparation
for making a commit,
[snip]
quoted
-"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 [ref].

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help