commit | 126b59692bb4d1e2283e8528fe0a8103995c23c4 | [log] [tgz] |
---|---|---|
author | Simon Oosthoek <s.oosthoek@xs4all.nl> | Wed Dec 26 20:15:05 2012 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Dec 26 11:52:36 2012 -0800 |
tree | 0a427fcc5ef7995fe566e06c938825d59c4cdae7 | |
parent | de29a7ac0ec31d8f5fa91b7d2f0294165787d558 [diff] |
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>