mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-26 09:42:51 +03:00
Fix git item in .git dir
This commit is contained in:
parent
ebd19142ed
commit
29a7de545f
@ -46,7 +46,7 @@ function _tide_item_git
|
||||
test "$upstreamAhead" = 0 && set -e upstreamAhead
|
||||
|
||||
# Git status/stash
|
||||
test "$isInsideGitDir" = true && set -l gitSetDirOption "-C $gitDir/.."
|
||||
test "$isInsideGitDir" = true && set -l gitSetDirOption -C $gitDir/..
|
||||
|
||||
set -l gitInfo (git $gitSetDirOption --no-optional-locks status --porcelain)
|
||||
set -l stash (git $gitSetDirOption stash list | count) || set -e stash
|
||||
|
Loading…
Reference in New Issue
Block a user