From: Junio C Hamano Date: Tue, 11 Sep 2012 23:19:16 +0000 (-0700) Subject: Meta/GRADUATED: sort the branches based on their origin X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4304d883d93dd9d8ef2d272518fa4595c31a00fd;p=thirdparty%2Fgit.git Meta/GRADUATED: sort the branches based on their origin The list of branches that have been merged is easier to read if the topics based on similar vintage of the base revisions are grouped together. --- diff --git a/GRADUATED b/GRADUATED index 45bf8b2102..1240cf3662 100755 --- a/GRADUATED +++ b/GRADUATED @@ -63,7 +63,8 @@ do done <"$tmp.both" | sort -r -n | sed -e 's/^[0-9]* //' \ - -e 's/^/git branch -d /' + -e 's/^/git branch -d /' | + sort -V -k 6,6 echo cat "$tmp.known" "$tmp.both" | sort >"$tmp.next" mv "$tmp.next" "$tmp.known"