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

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:06

Karl Hasselström [off-list ref] writes:
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?

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 [off-list 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

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

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:06

On 2007-04-20 13:18:25 +0200, Nikolai Weibull wrote:
On 4/20/07, Junio C Hamano [off-list ref] wrote:
quoted
Karl Hasselström [off-list ref] writes:
quoted
quoted
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 [off-list ref].
Ah, I missed that. Sorry.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help