mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
Merge pull request #11567
This commit is contained in:
@@ -315,7 +315,7 @@ function fish_git_prompt --description "Prompt function for Git"
|
||||
# *compute* the informative status, we might still count the stash.
|
||||
if contains -- "$__fish_git_prompt_show_informative_status" yes true 1
|
||||
set stashstate (count < $git_dir/logs/refs/stash)
|
||||
else
|
||||
else if test -s $git_dir/logs/refs/stash
|
||||
set stashstate 1
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user