Skip to content

Commit 07422d0

Browse files
committed
fix: handle case where option pull.rebase is not defined
1 parent 1ad3efb commit 07422d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf.d/git_fish_abbr.fish

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ function __git::abbr::git_pull
413413

414414
#https://www.youtube.com/watch?v=xN1-2p06Urc
415415
set -l opts
416-
if test (command git config pull.rebase) = false
416+
if test "$(command git config pull.rebase)" = false
417417
set -a opts --rebase
418418
end
419419

0 commit comments

Comments
 (0)