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 9, 2007, 05:42 UTC
- Message-ID
- <17827.11087.870000.177936@lapjr.intranet.kiel.bmiag.de>
- In-Reply-To
- <1168283894.6134.8.camel@ibook.zvpunry.de>
Michael Loeffler writes: > hi, > > Am Samstag, den 06.01.2007, 15:02 +0100 schrieb Juergen Ruehle: > ... > > I'd appreciate feedback on my series from the 2nd of January, > > especially part 3/4 (Subject: [PATCH 3/4] Improve "nothing to commit" > > part of status output). This is already part of next. > A very positive feedback from me, I like this and it is much better then > just removing this "use git add"-message. ;)
How about Junio's case where there are only untracked files in the working directory? I tend to send a patch that either just prints "nothing to commit" (simpler) or provides a different message that just advertises git-add.