git: that terminal output? make it mention the correct revision
authorNikodemus Siivola <nikodemus@random-state.net>
Fri, 10 Jun 2011 10:55:03 +0000 (13:55 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Fri, 10 Jun 2011 10:55:03 +0000 (13:55 +0300)
 *sigh*

git/post-receive-email

index 93289fb..c565634 100755 (executable)
@@ -736,7 +736,7 @@ else
                  lastrev=$oldrev
                  for step in $revlist
                  do
-                      echo "Sending: $(git log -n1 --oneline $rev)"
+                      echo "Sending: $(git log -n1 --oneline $step)"
                      generate_email $lastrev $step $refname | send_mail
                      lastrev=$step
                  done