From: "Gonzalo Garramuño" <ggarra@advancedsl.com.ar>
To: git@vger.kernel.org
Subject: git-diff across branches?
Date: Tue, 08 Jan 2008 05:44:14 -0300 [thread overview]
Message-ID: <478337DE.7@advancedsl.com.ar> (raw)
I was wondering if there was a way to make a git-diff across (local)
branches.
Something like:
$ git-diff --branch test1 HEAD --branch test2 HEAD file.cpp
(would show a diff for file.cpp between test1 HEAD and test2 HEAD)
--
Gonzalo Garramuño
ggarra@advancedsl.com.ar
AMD4400 - ASUS48N-E
GeForce7300GT
Xubuntu Gutsy
next reply other threads:[~2008-01-08 8:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 8:44 Gonzalo Garramuño [this message]
2008-01-08 8:57 ` git-diff across branches? Jeff King
2008-01-08 10:01 ` Jakub Narebski
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=478337DE.7@advancedsl.com.ar \
--to=ggarra@advancedsl.com.ar \
--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).