X-Git-Url: https://snippets.scripts.mit.edu/gitweb.cgi/Scripts/git/.git/blobdiff_plain/b9d0b6557da79c6a0655a9a33e8259270c84b081..6493056cf4bc8279d62581bebbbacccf5741c09c:/git-hooks/zephyr-post-receive diff --git a/git-hooks/zephyr-post-receive b/git-hooks/zephyr-post-receive index 48534d0..bd06fe4 100755 --- a/git-hooks/zephyr-post-receive +++ b/git-hooks/zephyr-post-receive @@ -31,7 +31,7 @@ while read oldrev newrev refname; do -m "New branch created." continue fi - git rev-list --reverse "$oldrev..$newrev" | while read rev; do + git rev-list --first-parent --reverse "$oldrev..$newrev" | while read rev; do shortrev=`git log -1 --pretty=format:%h "$rev"` (git show --stat $usecolor "$rev" | sed -e 's/@/@@/g' \