My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 22761: renames show up as add+remove in UI
8 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  augie@google.com


Sign in to add a comment
 
Project Member Reported by augie@google.com, Feb 24, 2012
https://code.google.com/p/go/source/detail?r=b66d0bf8da3e
is a rename+edit but it shows up as a delete+add.
It would be nice if it showed up as a "move" (or "copy"+delete)
operation, so that the diff showed the diff between the two files.

I can prove the Mercurial repository has the necessary
data, because hg export --git knows to diff the two files
instead of treating it as an add+remove:

$ hg export --git 1 | grep diff
diff --git a/src/pkg/debug/macho/testdata/hello.b b/src/pkg/debug/macho/testdata/hello.c
$
Mar 9, 2012
#1 mack...@gmail.com
See also  issue 5768 
Oct 16, 2012
Project Member #2 augie@google.com
 Issue 5768  has been merged into this issue.
Sign in to add a comment

Powered by Google Project Hosting