johnno1962 / GitDiff

Highlights deltas against git repo in Xcode
MIT License
891 stars 54 forks source link

Doesn't work on Xcode 6 #19

Closed joeldrotleff closed 9 years ago

joeldrotleff commented 9 years ago

I installed this plugin through Alcatraz on Xcode 6.0.1, restarted Xcode, and don't see any git changes highlighted.

I do see the plugin options in the Edit menu, but no changes are highlighted.

johnno1962 commented 9 years ago

Very strange, it should work fine. Are you sure you haven’t staged your changes? They will not show if they have been staged for commit. Another thing to check is the Edit/Configuration are the colors valid?

joeldrotleff commented 9 years ago

screen shot 2014-10-02 at 12 11 19 pm Configurations look good (screenshot attached).

Xcode seems to recognize the change too (screenshot attached). screen shot 2014-10-02 at 12 12 21 pm

johnno1962 commented 9 years ago

Have you saved the file? GitDiff can only compare the version saved to disk against the repo.

zenangst commented 9 years ago

I've seen this issue as well, I'll investigate when it reappears.

johnno1962 commented 9 years ago

Thanks Christoffer

zenangst commented 9 years ago

I have two git repos, one in which GitDiff works and one where it does not. So far in my investigation I have found that running git diff 'filename' in the faulty one returns nothing.

This might not be directly related to the plugin as it might/could be git issue.

I'll keep you posted on my progress!

johnno1962 commented 9 years ago

That would explain it!

zenangst commented 9 years ago

Haven't made any headway on this issue. It's working in all my current projects.

johnno1962 commented 9 years ago

I’ve not had any problems but if git doesn’t report a diff there isn’t much the plugin can do.