From: Kent Leonard <kleonard@accurev.com>
To: git@vger.kernel.org
Subject: Possible bug with multiple mv's and diff output
Date: Tue, 12 Apr 2011 13:58:49 -0400 [thread overview]
Message-ID: <BANLkTin2FpQQ1qEZ41VArsRYZre9=U6SKA@mail.gmail.com> (raw)
Hi all,
When I do this in repo with files a and b:
git mv b c
git mv a b
git commit -m shuffle
git diff --summary master^ master
I get output:
delete mode 100644 a
create mode 100644 c
Which does not indicate that the contents of b changed.
git diff --summary --find-copies --find-renames master^ master
gives output
delete mode 100644 a
copy b => c (100%)
which also doesn't show that b changed.
"git diff --raw" shows more complete information.
I am misunderstanding what should happen, or is this incorrect?
Thanks,
Kent Leonard
next reply other threads:[~2011-04-12 17:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 17:58 Kent Leonard [this message]
2011-04-12 20:45 ` Possible bug with multiple mv's and diff output 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='BANLkTin2FpQQ1qEZ41VArsRYZre9=U6SKA@mail.gmail.com' \
--to=kleonard@accurev.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).