|diff across a rename boundary? [message #900080]
||Fri, 03 August 2012 20:17
| R Shapiro
Registered: June 2011
By setting the right preferences I can get EGit to show me the history of a file that follows renames. But if I then attempt to do any kind of comparison of the current version against one of the versions on the other side of a rename boundary, I get nothing meaningful: the Eclipse diff display shows the working version in the left and nothing in the right. |
Similarly if I try to compare two old versions against one another (old as in on the other side of the rename boundary) the diff display shows nothing at all.
Is this a known limitation of EGit/JGit?
Fwiw I can get diffs across rename boundaries in IntelliJ IDEA, which is backed by command-line Git. So I know it's possible in principle to do this.
Max OS X 10.8
Addendum: in the specific example I'm looking at, the directory was renamed, not the file. I don't know if that's relevant or not. Basically EGit diff works on files in this directory only if both revisions are at or after the directory rename. If either revision is before the directory rename, the diff display shows nothing useful.
[Updated on: Sat, 04 August 2012 12:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02094 seconds