make __git_ps1 accept a third parameter in pcmode
commit126b59692bb4d1e2283e8528fe0a8103995c23c4
authorSimon Oosthoek <s.oosthoek@xs4all.nl>
Wed, 26 Dec 2012 19:15:05 +0000 (26 20:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Dec 2012 19:52:36 +0000 (26 11:52 -0800)
tree0a427fcc5ef7995fe566e06c938825d59c4cdae7
parentde29a7ac0ec31d8f5fa91b7d2f0294165787d558
make __git_ps1 accept a third parameter in pcmode

The optional third parameter when __git_ps1 is used in
PROMPT_COMMAND mode as format string for printf to further
customize the way the git status string is embedded in the
user's PS1 prompt.

Signed-off-by: Simon Oosthoek <s.oosthoek@xs4all.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh