From: Petr Baudis <pasky@suse.cz>
To: Robert Watson <robert.oo.watson@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: command to show diff of a commit
Date: Thu, 22 Sep 2005 12:04:58 +0200 [thread overview]
Message-ID: <20050922100458.GF21019@pasky.or.cz> (raw)
In-Reply-To: <72499e3b05092202583f9a751d@mail.gmail.com>
Dear diary, on Thu, Sep 22, 2005 at 11:58:32AM CEST, I got a letter
where Robert Watson <robert.oo.watson@gmail.com> told me that...
> Hi,
Hi,
> I am wondering what is the best way to show the change introduced by a
> commit. In the other words, is there a better way to do this:
>
> git-diff b163512d4eb36ee946908b682c7863658c5a8db4^
> b163512d4eb36ee946908b682c7863658c5a8db4
with Cogito, you would say
cg-diff -p -r b163512d4eb36ee946908b682c7863658c5a8db4
to see the diff against its parent. (You should still choose the parent
manually in case of merge commits.)
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
next prev parent reply other threads:[~2005-09-22 10:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-22 9:58 command to show diff of a commit Robert Watson
2005-09-22 10:04 ` Petr Baudis [this message]
2005-09-22 14:25 ` Robert Watson
2005-09-22 14:33 ` Sven Verdoolaege
2005-09-22 15:20 ` Linus Torvalds
2005-09-23 10:06 ` Robert Watson
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=20050922100458.GF21019@pasky.or.cz \
--to=pasky@suse.cz \
--cc=git@vger.kernel.org \
--cc=robert.oo.watson@gmail.com \
/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).