Re: [PATCH 1/2] Suggest use of "git add file1 file2" when there is nothing to commit.
- From
- Juergen Ruehle <j.ruehle@bmiag.de>
- Date
- Jan 8, 2007, 10:42 UTC
- Message-ID
- <17826.8186.10000.584890@lapjr.intranet.kiel.bmiag.de>
- In-Reply-To
- <7vslemxe5e.fsf@assigned-by-dhcp.cox.net>
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?