From eb7603f1c6ed1fca33da0faa3252e3a62326fecc Mon Sep 17 00:00:00 2001 From: Spenser Black Date: Mon, 24 Jan 2022 15:10:57 -0500 Subject: [PATCH] Make `__fish_git_is_rebasing` respect `git -C` Co-authored-by: Johannes Altmanninger --- share/completions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index aeb6a6e0f..4d45aea1e 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -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