git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Pearce <spearce@spearce.org>
To: Andreas Ericsson <ae@op5.se>
Cc: Junio C Hamano <junkio@cox.net>,
	git@vger.kernel.org, Andy Parkins <andyparkins@gmail.com>
Subject: Re: [PATCH 1/2] Suggest use of 'git add' when 'nothing to commit' gets shown.
Date: Fri, 15 Dec 2006 10:06:32 -0500	[thread overview]
Message-ID: <20061215150632.GD17860@spearce.org> (raw)
In-Reply-To: <458266D4.5050301@op5.se>

Andreas Ericsson <ae@op5.se> 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.  ;-)

-- 

      reply	other threads:[~2006-12-15 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-15  0:13 [PATCH 1/2] Suggest use of 'git add' when 'nothing to commit' gets shown Shawn O. Pearce
2006-12-15  9:11 ` Andreas Ericsson
2006-12-15 15:06   ` Shawn Pearce [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061215150632.GD17860@spearce.org \
    --to=spearce@spearce.org \
    --cc=ae@op5.se \
    --cc=andyparkins@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).