Merge branch 'jn/do-not-drop-username-when-reading-from-etc-mailname'
[gitweb.git] / contrib / hooks / post-receive-email
index 01af9df15e180288723caadf42b500fe78a8c694..0e5b72d7f19185c3b6b36150085d475c7ef15db4 100755 (executable)
@@ -237,6 +237,7 @@ generate_email_header()
        X-Git-Reftype: $refname_type
        X-Git-Oldrev: $oldrev
        X-Git-Newrev: $newrev
+       Auto-Submitted: auto-generated
 
        This is an automated email from the git hooks/post-receive script. It was
        generated because a ref change was pushed to the repository containing
@@ -403,7 +404,7 @@ generate_update_branch_email()
                        echo "            \\"
                        echo "             O -- O -- O ($oldrev)"
                        echo ""
-                       echo "The removed revisions are not necessarilly gone - if another reference"
+                       echo "The removed revisions are not necessarily gone - if another reference"
                        echo "still refers to them they will stay in the repository."
                        rewind_only=1
                else