]> git.xonotic.org Git - xonotic/div0-gittools.git/blobdiff - git-open-reverts
also show the revert log
[xonotic/div0-gittools.git] / git-open-reverts
index 2ad1c1f4c42b1bbaf964c096406b1f4bd6cb217f..26e12aea927098e328e6d4e30e10a9261d5410a6 100755 (executable)
@@ -74,7 +74,8 @@ for commit in $allreverted; do
                continue
        fi
        if revertedby=`whatreverts "$commit" | grep .`; then
                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
 
        fi
 done