@leroysheep / BookAlchemy / commits / 4304d883d9

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.

Junio C Hamano committed Sep 11, 2012 at 16:19 UTC 4304d883d93dd9d8ef2d272518fa4595c31a00fd
1 file changed +2 -1
GRADUATED
+2 -1
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"