summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.tcsh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-07-15 11:41:18 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-15 11:41:18 -0700
commitada9ecd98947aa0d80945f3a7a24486efcda370b (patch)
treece3a89b83f6f613dbcfea1e807e66eee0f06427e /contrib/completion/git-completion.tcsh
parentMerge branch 'pa/auto-gc-mac-osx' into maint (diff)
parentgit-completion.tcsh: fix redirect with noclobber (diff)
downloadtgif-ada9ecd98947aa0d80945f3a7a24486efcda370b.tar.xz
Merge branch 'af/tcsh-completion-noclobber' into maint
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
Diffstat (limited to 'contrib/completion/git-completion.tcsh')
-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 6104a42a23..4a790d8f4e 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.