Re: [PATCH 1/2] Suggest use of 'git add' when 'nothing to commit' gets shown.
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Dec 15, 2006, 15:06 UTC
- Message-ID
- <20061215150632.GD17860@spearce.org>
- In-Reply-To
- <458266D4.5050301@op5.se>
Andreas Ericsson <ae@op5.se> wrote:
Show 8 quoted lines
> Shawn O. Pearce wrote: > > else > > if [ -z "$(git-ls-files)" ]; then > >- echo >&2 Nothing to commit > >+ echo >&2 "Nothing to commit (use \"git add\" include for > >commit)" > > s/git add include/git add to include/
Thanks! I'm going to rewrite this patch series as I clearly fumbled a few items, which you were kind enough to take the time to point out for me.
> It would probably be nice to use one and the same message everywhere though.
That was my intent. My fingers failed me somehow. ;-)