git/contrib/completion
Joakim Petersen 0e5d9ef395 git-prompt: fix expansion of branch colour codes
Because of the wrapping of the branch name variable $b, the colour codes
in the variable don't get applied, but are instead printed directly in
the output. Move the wrapping of $b to before colour codes are inserted
to correct this. Revert move of branch name colour codes in tests, as
the branch name is now coloured after the wrapping instead of before.

Signed-off-by: Joakim Petersen <joak-pet@online.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-06-10 09:41:49 -07:00
..
.gitattributes
git-completion.bash completion: tab completion of filenames for 'git restore' 2022-03-15 17:21:22 -07:00
git-completion.tcsh
git-completion.zsh
git-prompt.sh git-prompt: fix expansion of branch colour codes 2022-06-10 09:41:49 -07:00