git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Possible bug with multiple mv's and diff output
@ 2011-04-12 17:58 Kent Leonard
  2011-04-12 20:45 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Kent Leonard @ 2011-04-12 17:58 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-12 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12 17:58 Possible bug with multiple mv's and diff output Kent Leonard
2011-04-12 20:45 ` Junio C Hamano

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).