Xcode 4.6.1 git log fails to follow history of moved files

Originator:ben.kennedy
Number:rdar://13475784 Date Originated:21-Mar-2013 12:42 PM
Status:Duplicate (8880197) Resolved:
Product:Developer Tools (Xcode) Product Version:4.6.1 (4H512)
Classification:Bug Reproducible:Always
 
Summary:

Xcode fails to heed full logging history on assets in a git repo that have been moved.  This makes SCM within Xcode of limited use.

Steps to Reproduce:

Enact a git repo.
Make some commits against a particular file.
Compare it against prior revs using the Versions editor mode of Xcode.
Move the file to a different directory (e.g. using git mv, SourceTree, etc.).
Commit the new changes.
Pull the latest rev on another system, open up in Xcode.
Compare it against prior revs using the Versions editor.

Expected Results:
All history visible in the revision pop-up menu and in Log mode.

Actual Results:
Only the most recent commit is shown.

Notes:

Related explanations of the problem:
http://stackoverflow.com/questions/10824687/git-log-follow-to-show-on-xcode
http://stackoverflow.com/questions/11877630/git-not-following-a-moved-file
http://stackoverflow.com/questions/11886943/xcode-loses-git-history-when-moving-a-file

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!