Skip to content

Commit

Permalink
Merge branch 'af/tcsh-completion-noclobber' into maint
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Jul 15, 2015
2 parents 7c62118 + 0b1f688 commit ada9ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.tcsh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ada9ecd

Please sign in to comment.