X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=WI;h=e86accdae08a40834683fb487ad67332459a1f6a;hb=bf95706c1059b78ba0de58ae0c559a6e692a183e;hp=f9201442af0864dca594e56554a9459654c26cc7;hpb=17e735177e29373ab8625bc34761c5030f9608fe;p=git.git diff --git a/WI b/WI index f9201442..e86accda 100755 --- a/WI +++ b/WI @@ -1,11 +1,14 @@ #!/bin/sh # Prepare "What's in git.git" +master_at=$(git rev-parse --verify refs/heads/master) + echo "To: git@vger.kernel.org" echo "Subject: What's in git.git" +echo "X-master-at: $master_at" tagged=`git rev-parse --not --verify tags/sa/master` -list=`git-rev-list $tagged heads/master 2>/dev/null` +list=`git-rev-list $tagged refs/heads/master 2>/dev/null` if test -n "$list" then echo @@ -14,22 +17,22 @@ then git log $tagged heads/master | git shortlog fi -list=`git-rev-list heads/master..heads/next 2>/dev/null` +list=`git-rev-list refs/heads/master..refs/heads/next 2>/dev/null` if test -n "$list" then echo echo echo "* The 'next' branch, in addition, has these." echo - git log --no-merges heads/master..heads/next | git shortlog + git log --no-merges refs/heads/master..refs/heads/next | git shortlog fi -list=`git-rev-list ^heads/master ^heads/next heads/pu 2>/dev/null` +list=`git-rev-list ^refs/heads/master ^refs/heads/next refs/heads/pu 2>/dev/null` if test -n "$list" then echo echo echo "* The 'pu' branch, in addition, has these." echo - git log --no-merges ^heads/master ^heads/next heads/pu | git shortlog + git log --no-merges ^refs/heads/master ^refs/heads/next refs/heads/pu | git shortlog fi