git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.  ;-)
Previous: Andreas Ericsson
Message 3 of 3 in “Suggest use of 'git add' when 'nothing to commit' gets shown.”
  1. 1/2 Suggest use of 'git add' when 'nothing to commit' gets shown.Shawn O. Pearce, Dec 15, 2006
  2. Andreas EricssonDec 15, 2006
  3. Shawn PearceDec 15, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.