diff options
-rw-r--r-- | share/functions/__fish_git_prompt.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_git_prompt.fish b/share/functions/__fish_git_prompt.fish index a6a7c87b..b72352ed 100644 --- a/share/functions/__fish_git_prompt.fish +++ b/share/functions/__fish_git_prompt.fish @@ -346,7 +346,7 @@ function __fish_git_prompt_current_branch --description "__fish_git_prompt helpe set branch "($branch)" end - # I honestly don't know when this is relevant + # Let user know they're inside the git dir of a non-bare repo if test "true" = (git rev-parse --is-inside-git-dir ^/dev/null) if test "false" = (git rev-parse --is-bare-repository ^/dev/null) set branch "GIT_DIR!" |