From: Jonathan Nieder <jrnieder@gmail.com>
To: Geoff Russell <geoffrey.russell@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: finding if a commit is needed
Date: Wed, 28 Jul 2010 19:06:48 -0500 [thread overview]
Message-ID: <20100729000647.GB29156@dert.cs.uchicago.edu> (raw)
In-Reply-To: <AANLkTin4o=uNBFELYMb8TDA=taGJyqpLvgxZcPFr+Pq+@mail.gmail.com>
Geoff Russell wrote:
> Is there something which can test whether a commit is needed?
>
> I define "needed" as meaning when git commit -a would make a non-identical
> commit.
Maybe "git diff --exit-code HEAD"?
Regards,
Jonathan
next prev parent reply other threads:[~2010-07-29 0:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 8:53 finding if a commit is needed Geoff Russell
2010-07-29 0:06 ` Jonathan Nieder [this message]
2010-07-30 10:16 ` Geoff Russell
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=20100729000647.GB29156@dert.cs.uchicago.edu \
--to=jrnieder@gmail.com \
--cc=geoffrey.russell@gmail.com \
--cc=git@vger.kernel.org \
/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).