Merge branch 'tb/checkout-doc' into maint
[gitweb.git] / contrib / completion / git-completion.tcsh
index 6104a42a23c4f38848a34c5c212bd7b74de81ab4..4a790d8f4ec18e0bfedbc7f8ce9f2d4291c284e4 100644 (file)
@@ -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.