Make __fish_git_is_rebasing respect git -C

Co-authored-by: Johannes Altmanninger <aclopte@gmail.com>
This commit is contained in:
Spenser Black
2022-01-24 15:10:57 -05:00
committed by Johannes Altmanninger
parent 3b690214dc
commit eb7603f1c6

View File

@@ -799,7 +799,7 @@ format:\tSpecify which information to show"
end
function __fish_git_is_rebasing
test -e (__fish_git rev-parse --git-path rebase-merge)
test -e (__fish_git rev-parse --absolute-git-dir)/rebase-merge
end
# general options