From: Robert Watson <robert.oo.watson@gmail.com>
To: git@vger.kernel.org
Subject: Re: command to show diff of a commit
Date: Thu, 22 Sep 2005 15:25:01 +0100 [thread overview]
Message-ID: <72499e3b0509220725a52fef8@mail.gmail.com> (raw)
In-Reply-To: <20050922100458.GF21019@pasky.or.cz>
On 9/22/05, Petr Baudis <pasky@suse.cz> wrote:
> 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.)
>
Thanks, it is nice to know that cogito can go it. But can I achieve
the same with git-core only?
Thanks,
Robertoo
next prev parent reply other threads:[~2005-09-22 14:25 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
2005-09-22 14:25 ` Robert Watson [this message]
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=72499e3b0509220725a52fef8@mail.gmail.com \
--to=robert.oo.watson@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).