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

Re: [PATCH 1/2] Suggest use of "git add file1 file2" when there is nothing to commit.

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

Possibly related (same subject, not in this thread)

Juergen Ruehle [off-list ref] writes:
Junio C Hamano writes:
 > Juergen Ruehle [off-list ref] writes:
 > 
 > > Junio C Hamano writes:
 > >  > If there is something you are missing, it is that I am
 > >  > overloaded these days ;-).
 > >
 > > I'm sorry. As a rather unsuccessful former maintainer of
 > > http://www.openarchitectureware.org/ I can fully appreciate git's luck
 > > to have such a dedicated maintainer.
 > 
 > Actually there is one difference that I found practically
 > important.  It usually is a norm for me to have a handful
 > untracked files that I do not even bother adding to .gitignore
 > in the repository.  My patch does not suggest "add" when there
 > are untracked files but no locally modified files.

Yes. I don't have a real preference. I have a slight suspicion that
the hint is useful for newbies because having only untracked files is
the initial situation, but the hint in my patch is actually wrong
because git-commit won't help in this situation. Do you want to revert
the patch and apply yours or should I send a correction?
I think it is Ok to give hints for untracked files -- with
experience eyes will learn to ignore them but by then they do
not need hints.  Please send in a correction as appropriate.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help