The better and happier alternative for
git-diff package for Atom editor.
git-diff-plus package was originally a clone of
git-diff package, bundled with Atom itself by default, and covers every functionality provided by it, but also includes lots of enhancements and refactors.
There are mainly these advantages below for you to use
Tracks git diffs for every file under .git repository, meaning you can see the diffs of files both in the current Atom projects and outside of the projects
git-diffcan only shows diffs of files in current projects ...
Indicates per-file diffs in the Status-Bar as well as in editor gutters
Includes a lot of valuable refactors. E.g.:
git-diff-pluspackage: Follow either way below
apm install git-diff-plus
File -> Settings -> Installand search for
git-diffpackage: Follow either way
apm disable git-diff
File -> Settings -> Packagesand search for
git-diffpackage is bundled with Atom itself by default
git-diffis recommended to avoid duplicated works and collisions of the commands
git-diff-plusoverrides every functionality provided by
git-diff-pluswould automatically detect if
git-diffis activated and if so shows buttons to disable it via an notification, thus you can even skip step 3.
Show Diffs In Status Barto
Git Diff Plus: Move To Previous Diff(Alt-G Up): move the cursor to the previous diff in the editor
Git Diff Plus: Toggle Diff List(Alt-G D): see all the diffs in a current active editor
Git Diff Plus: Rebuild Repository Cache: invoke this command when you find diffs for an newly added repository is not recognized
There is a difficult issue around finding a correct .git repository and the Atom's core team is now trying to solve this in an higher level, thus the specific issues around it are kind of pending AFAIU.
But still I found the fixes to them are really useful, and so this package is here as a community package. Thus, in that sense, this package is a temporal remedy for the issues like:
Even this package works very fine as far as I've used this, this package may fail to find/subscribe a repository (still I'm sure the method that this
git-diff-plus uses to find/subscribe .git repository is much more better than the original
So please help me find issues by reporting it if you encounter a problem !
The original code base was borrowed from the one in
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.