-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hide diff after git add #420
Comments
Got it !
Just set "compare_against" to empty, it is strongly recommended to make this default. |
May be a good idea to add a "Compare Against: Index" command |
@r-stein : Already done 3 months ago. But I called it "Compare against Staging Area" with The reason I haven't published it were several other changes it relied on which require git 2.12.0 What @logig describes works by luck here since GitGutter uses git cat-file to read the content from the tree which uses empty object_id to indicate the staging area. So implementing would be easy. |
I don't know, I just feel it like a "git diff xxx" command in git-bash. But this do not work fully, I have to reopen the file or it will not work. @deathaxe |
The only issue with just leaving the |
The feature request and possible solutions to handle the staging area as compare target are discussed in #118 with same result as in this thread. Therefore I close this issue as "duplicate". |
Why not hide the diff after git add , just like the acting of git-bash ? Has config item for this ?
The text was updated successfully, but these errors were encountered: