Use unambiguous paths for :Gstatus dot map

When the current working directory isn't the work tree, use absolute
paths so that pairing with both :Git and :! works as expected.
This commit is contained in:
Tim Pope
2018-08-10 19:20:12 -04:00
parent 597289e64d
commit a358191cfb
2 changed files with 11 additions and 11 deletions

View File

@@ -63,6 +63,7 @@ that are part of Git repositories).
U |:Git| checkout HEAD (staged files)
U |:Git| clean (untracked files)
U |:Git| rm (unmerged files)
. enter |:| command line with file prepopulated
*fugitive-:Gcommit*
:Gcommit [args] A wrapper around git-commit. If there is nothing
@@ -304,10 +305,6 @@ P Go to the current file in the [count]th parent.
*fugitive-C*
C Go to the commit containing the current file.
*fugitive-.*
. Start a |:| command line with the current
|fugitive-object| prepopulated at the end of the line.
*fugitive-a*
a Show the current tag, commit, or tree in an alternate
format.