]> asedeno.scripts.mit.edu Git - git.git/blobdiff - contrib/hooks/post-receive-email
Merge branch 'rv/maint-index-commit'
[git.git] / contrib / hooks / post-receive-email
index 3904c182e76e6db25ff6531a0ac41e3b2c0e68ca..7511ea0797286453051c15765c4b795ac577cc0d 100644 (file)
@@ -156,10 +156,6 @@ generate_email()
        fi
 
        # Email parameters
-       # The committer will be obtained from the latest existing rev; so
-       # for a deletion it will be the oldrev, for the others, then newrev
-       committer=$(git show --pretty=full -s $rev | sed -ne "s/^Commit: //p" |
-               sed -ne 's/\(.*\) </"\1" </p')
        # The email subject will contain the best description of the ref
        # that we can build from the parameters
        describe=$(git describe $rev 2>/dev/null)