Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'af/tcsh-completion-noclobber' into maint
author
Junio C Hamano
<gitster@pobox.com>
Wed, 15 Jul 2015 18:41:18 +0000
(11:41 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 15 Jul 2015 18:41:18 +0000
(11:41 -0700)
The tcsh completion writes a bash scriptlet but that would have
failed for users with noclobber set.
* af/tcsh-completion-noclobber:
git-completion.tcsh: fix redirect with noclobber
contrib/completion/git-completion.tcsh
patch
|
blob
|
history
raw
(from parent 1:
7c62118
)
diff --git
a/contrib/completion/git-completion.tcsh
b/contrib/completion/git-completion.tcsh
index 6104a42a23c4f38848a34c5c212bd7b74de81ab4..4a790d8f4ec18e0bfedbc7f8ce9f2d4291c284e4 100644
(file)
--- a/
contrib/completion/git-completion.tcsh
+++ b/
contrib/completion/git-completion.tcsh
@@
-41,7
+41,7
@@
if ( ! -e ${__git_tcsh_completion_original_script} ) then
exit
endif
-cat << EOF > ${__git_tcsh_completion_script}
+cat << EOF >
!
${__git_tcsh_completion_script}
#!bash
#
# This script is GENERATED and will be overwritten automatically.