summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-06-24 19:21:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-06-24 19:21:53 (GMT)
commitc595cb9c4f7c5fb2b09c5f3d3c07cf4488dc7ef9 (patch)
tree4fe261107363debd9081440d35aea35920b20f14
parent9d71c5f408dabb94f21891f69de17aa72d4787c3 (diff)
parent0b1f688bf453c8569d17908f0c3ca218157d80e4 (diff)
downloadgit-c595cb9c4f7c5fb2b09c5f3d3c07cf4488dc7ef9.zip
git-c595cb9c4f7c5fb2b09c5f3d3c07cf4488dc7ef9.tar.gz
git-c595cb9c4f7c5fb2b09c5f3d3c07cf4488dc7ef9.tar.bz2
Merge branch 'af/tcsh-completion-noclobber'
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
-rw-r--r--contrib/completion/git-completion.tcsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.tcsh b/contrib/completion/git-completion.tcsh
index 6104a42..4a790d8 100644
--- 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.