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
This commit is contained in:
Junio C Hamano 2015-07-15 11:41:18 -07:00
commit ada9ecd989

View File

@ -41,7 +41,7 @@ if ( ! -e ${__git_tcsh_completion_original_script} ) then
exit exit
endif endif
cat << EOF > ${__git_tcsh_completion_script} cat << EOF >! ${__git_tcsh_completion_script}
#!bash #!bash
# #
# This script is GENERATED and will be overwritten automatically. # This script is GENERATED and will be overwritten automatically.