From: Junio C Hamano Date: Wed, 21 Nov 2012 21:17:01 +0000 (-0800) Subject: Merge branch 'so/prompt-command' X-Git-Url: https://repo.or.cz/w/git/mingw.git/commitdiff_plain/5471fb1c4ca09c8a9e1ecb8d8caee80959bc081c Merge branch 'so/prompt-command' Updates __git_ps1 so that it can be used as $PROMPT_COMMAND, instead of being used for command substitution in $PS1, to embed color escape sequences in its output. * so/prompt-command: coloured git-prompt: paint detached HEAD marker in red Fix up colored git-prompt show color hints based on state of the git tree Allow __git_ps1 to be used in PROMPT_COMMAND --- 5471fb1c4ca09c8a9e1ecb8d8caee80959bc081c