diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-02-21 15:18:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-21 15:18:00 -0800 |
commit | 887c409a7abf4525776ddea62077a2ccc48031ec (patch) | |
tree | a3028f64534fc1d4c1ad60136aa9abd2b33d6c0e /contrib | |
parent | b3a769dc355b32c95783dc07f59e4dfebdd8bdc7 (diff) | |
parent | 72d5e74e991937e24afb943eee74ca929e7f00ab (diff) | |
download | git-887c409a7abf4525776ddea62077a2ccc48031ec.tar.gz |
Merge branch 'maint'
* maint:
Update draft release notes to 1.7.9.2
completion: Allow dash as the first character for __git_ps1
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/completion/git-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 1505cff12d..ab24310569 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -313,7 +313,7 @@ __git_ps1 () fi local f="$w$i$s$u" - printf "${1:- (%s)}" "$c${b##refs/heads/}${f:+ $f}$r$p" + printf -- "${1:- (%s)}" "$c${b##refs/heads/}${f:+ $f}$r$p" fi } |