diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-12-11 15:04:36 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-12 11:07:48 -0800 |
commit | de29a7ac0ec31d8f5fa91b7d2f0294165787d558 (patch) | |
tree | dfb2b25bb78f252265411b1cc47fb612c89f6f9e /Documentation/RelNotes/1.7.2.4.txt | |
parent | coloured git-prompt: paint detached HEAD marker in red (diff) | |
download | tgif-de29a7ac0ec31d8f5fa91b7d2f0294165787d558.tar.xz |
git-prompt.sh: update PROMPT_COMMAND documentation
The description of __git_ps1 function operating in two-arg mode was
not very clear. It said "set PROMPT_COMMAND=__git_ps1" which is not
the right usage for this mode, followed by "To customize the prompt,
do this", giving a false impression that those who do not want to
customize it can get away with no-arg form, which was incorrect.
Make it clear that this mode always takes two arguments, pre and
post, with an example.
The straight-forward one should be listed as the primary usage, and
the confusing one should be an alternate for advanced users. Swap
the order of these two.
Acked-by: Simon Oosthoek <s.oosthoek@xs4all.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.2.4.txt')
0 files changed, 0 insertions, 0 deletions