diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-19 09:48:25 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-19 09:48:25 +0300 |
commit | c899fa3ac13019d795058b683f600777c1c5405d (patch) | |
tree | e8c58bf6283f056ac2c9e833907b560c91c277f7 | |
parent | demo-script (diff) | |
download | git-prompt-c899fa3ac13019d795058b683f600777c1c5405d.tar.gz git-prompt-c899fa3ac13019d795058b683f600777c1c5405d.tar.bz2 git-prompt-c899fa3ac13019d795058b683f600777c1c5405d.zip |
trivial
-rwxr-xr-x | prompt | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -314,7 +314,6 @@ PROMPT_COMMAND=' ### branch - #head_tail=`echo $head | sed 's/[^^~]*//'` # we cut head to leave only ^~, and reattach to branch name branch=${branch/master/M} grep -q "^ref:" $git_dir/HEAD 2>/dev/null || detached=detached @@ -335,7 +334,7 @@ PROMPT_COMMAND=' # at least one should be set : ${status?prompt internal error: git status} eval git_color="\${git_$status}" - git_color=${git_color:-$WHITE} + git_color=${git_color:-$WHITE} # default ### compose local label |