mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-22 02:35:14 +08:00
Fixed invalid assignments in fish_print_git_action
This commit is contained in:
parent
65eb4cd9d3
commit
ca5427865d
@ -44,10 +44,8 @@ function fish_print_git_action --argument-names git_dir
|
||||
|
||||
if test -f "$git_dir/CHERRY_PICK_HEAD"
|
||||
if test -d "$git_dir/sequencer"
|
||||
cherry_pick_sequence_formatted='cherry-pick-sequence'
|
||||
echo -n 'cherry-pick-sequence'
|
||||
else
|
||||
cherry_pick_formatted='cherry-pick'
|
||||
echo -n 'cherry-pick'
|
||||
end
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user