git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aaron Schrab <aaron@schrab.com>
To: git@vger.kernel.org
Subject: Strange behaviour of git diff branch1 ... branch2
Date: Fri, 26 Oct 2012 17:26:50 -0400	[thread overview]
Message-ID: <20121026212650.GB2612@pug.qqx.org> (raw)

I came across this odd question on stackoverflow:
	http://stackoverflow.com/q/13092854/1507392


If git diff is run with "..." as a separate argument between two 
commit-ish arguments causes it to produce strange output.  The 
differences seem to be the same as if "..." was left out, but change 
lines begin with 4 + or - characters rather than just 1.

Can anybody explain what is happening here?  I don't have any reason to 
want to use that form myself, but I'm very curious about why it produces 
this odd output.

Thanks.

             reply	other threads:[~2012-10-26 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26 21:26 Aaron Schrab [this message]
2012-10-27  3:51 ` Strange behaviour of git diff branch1 ... branch2 Nguyen Thai Ngoc Duy
2012-10-27 12:33   ` Junio C Hamano
2012-10-27 13:32     ` Nguyen Thai Ngoc Duy
2012-11-12 17:46       ` Junio C Hamano

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=20121026212650.GB2612@pug.qqx.org \
    --to=aaron@schrab.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).