Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 376063 - [Git] Resolve renamed / moved files
Summary: [Git] Resolve renamed / moved files
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-04 08:27 EDT by Alvaro Sanchez-Leon CLA
Modified: 2012-10-30 07:50 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Sanchez-Leon CLA 2012-04-04 08:27:57 EDT
The git connector is currently not able to identify moved files, so the change set considers moved files as deletions and additions, this is quite inconvenient as it's not possible to correlate the base and target files for a later compare session.
 
Note that Gerrit is able to correlate moved files so it shall be feasible to do it in the Git connector.
Comment 1 Alvaro Sanchez-Leon CLA 2012-10-30 07:50:00 EDT
The following references point to the implementation in jgit for the detection of renamed files.


Announcing support of rename detection in Jgit 0.9
http://wiki.eclipse.org/JGit/New_and_Noteworthy/0.9


C git detection of file renames via -M option
file:///C:/Program%20Files/Git/doc/git/html/git-log.html

Rename / move with Jgit (question)
http://dev.eclipse.org/mhonarc/lists/jgit-dev/msg01444.html
Comment 2 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn