Re: [PATCH 1/2] Suggest use of "git add file1 file2" when there is nothing to commit.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 8, 2007, 20:13 UTC
- Message-ID
- <7vps9pwa3e.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <17826.8186.10000.584890@lapjr.intranet.kiel.bmiag.de>
Juergen Ruehle <j.ruehle@bmiag.de> writes:
Show 22 quoted lines
> Junio C Hamano writes: > > Juergen Ruehle <j.ruehle@bmiag.de> 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.