1
0
mirror of https://github.com/git/git.git synced 2024-10-23 01:35:18 +02:00
git/contrib/completion
Junio C Hamano de29a7ac0e 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>
2012-12-12 11:07:48 -08:00
..
git-completion.bash Merge branch 'maint' 2012-09-25 10:25:52 -07:00
git-prompt.sh git-prompt.sh: update PROMPT_COMMAND documentation 2012-12-12 11:07:48 -08:00