From: Junio C Hamano Date: Wed, 15 Jul 2015 18:41:18 +0000 (-0700) Subject: Merge branch 'af/tcsh-completion-noclobber' into maint X-Git-Tag: v2.4.6~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ada9ecd98947aa0d80945f3a7a24486efcda370b?hp=7c621186bae3204af11ed60984ff3d1df0eddb44 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 --- 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.