From df28f7669891d88f68b4f237750bfab73c526e9d Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 10 Feb 2019 13:59:22 +0100 Subject: [PATCH] git-prompt: Test untracked the right way around This only showed untracked files if showuntrackedfiles was != true. That's just exactly wrong. Fortunately this wasn't in a release. [ci skip] --- share/functions/fish_git_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/fish_git_prompt.fish b/share/functions/fish_git_prompt.fish index 91d3c737e..ffa52ea62 100644 --- a/share/functions/fish_git_prompt.fish +++ b/share/functions/fish_git_prompt.fish @@ -414,7 +414,7 @@ function fish_git_prompt --description "Prompt function for Git" set s $___fish_git_prompt_char_stashstate end - if test "$untracked" != true + if test "$untracked" = true set u (__fish_git_prompt_untracked) end end