Skip to content

Commit

Permalink
contrib/hooks/post-receive-email: remove cruft, $committer is not used
Browse files Browse the repository at this point in the history
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Gerrit Pape authored and Junio C Hamano committed Nov 8, 2007
1 parent ad7638b commit 5c35505
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contrib/hooks/post-receive-email
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5c35505

Please sign in to comment.