also show the revert log
authorRudolf Polzer <divverent@xonotic.org>
Thu, 3 Nov 2011 10:12:29 +0000 (11:12 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 3 Nov 2011 10:12:29 +0000 (11:12 +0100)
git-open-reverts

index 2ad1c1f..26e12ae 100755 (executable)
@@ -74,7 +74,8 @@ for commit in $allreverted; do
                continue
        fi
        if revertedby=`whatreverts "$commit" | grep .`; then
-               echo "$commit got reverted by $revertedby"
+               echo "$commit got reverted by $revertedby:"
+               git log -1 $revertedby
        fi
 done