jakesankey / git-history

View previous versions of any file known to git.
https://atom.io/packages/git-history
MIT License
28 stars 10 forks source link

Diff commit with HEAD #9

Closed yriveiro closed 9 years ago

yriveiro commented 9 years ago

The only missing thing that I found in this package is the diff between the hash commit and the HEAD.

Would be nice if the inserted removed and updated parts were highlighted like gutter does or something similar.

jakesankey commented 9 years ago

displaying diff information in a meaningful way is something that is on my list for a future version.

jakesankey commented 9 years ago

There is a preliminary implementation now in the latest version of git-history. Under the git-history settings make sure to select that you want diff info shown. Note that there is still a lot of room for improvement but it does effectively show you the additions and subtractions between the given version and HEAD.