diff options
author | Stefan Naewe <stefan.naewe@gmail.com> | 2011-10-26 21:13:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-26 14:05:47 -0700 |
commit | e5b8eebc03f80bc21877494ae2ac0c2b63a1b83b (patch) | |
tree | 419154fab522e0df38e48adac1ca128bb512ee4d /contrib/hooks | |
parent | Merge branch 'maint' (diff) | |
download | tgif-e5b8eebc03f80bc21877494ae2ac0c2b63a1b83b.tar.xz |
completion: fix issue with process substitution not working on Git for Windows
Git for Windows comes with a bash that doesn't support process substitution.
It issues the following error when using git-completion.bash with
GIT_PS1_SHOWUPSTREAM set:
$ export GIT_PS1_SHOWUPSTREAM=1
sh.exe": cannot make pipe for process substitution: Function not implemented
sh.exe": cannot make pipe for process substitution: Function not implemented
sh.exe": <(git config -z --get-regexp '^(svn-remote\..*\.url|bash\.showupstream)$' 2>/dev/null | tr '\0\n' '\n '): ambiguous redirect
Replace the process substitution with a 'here string'.
Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions