From: Shawn Pearce Date: Fri, 15 Dec 2006 15:06:32 GMT Subject: Re: [PATCH 1/2] Suggest use of 'git add' when 'nothing to commit' gets shown. Message-ID: <20061215150632.GD17860@spearce.org> In-Reply-To: <458266D4.5050301@op5.se> Andreas Ericsson wrote: > 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. ;-) --