From 4304d883d93dd9d8ef2d272518fa4595c31a00fd Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 11 Sep 2012 16:19:16 -0700 Subject: [PATCH] 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. --- GRADUATED | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.47.3