From 8a309911899e8019738ca002b55c9d86cf444e33 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Fri, 21 Oct 2011 23:34:21 +0200 Subject: [PATCH] list() and listremote(): sort results --- movein | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/movein b/movein index c6c5137..80aa3fa 100755 --- a/movein +++ b/movein @@ -170,12 +170,12 @@ add() { } list() { - find "${LOCAL_REPOS}" -mindepth 1 -maxdepth 1 -type d | sed 's,^.*/\([^/]*\).git$,\1,' + find "${LOCAL_REPOS}" -mindepth 1 -maxdepth 1 -type d | sed 's,^.*/\([^/]*\).git$,\1,' | sort } listremote() { ssh $GIT_HOST " - find '${REMOTE_REPOS}' -mindepth 1 -maxdepth 1 -type d | sed 's,^.*/\([^/]*\).git$,\1,' + find '${REMOTE_REPOS}' -mindepth 1 -maxdepth 1 -type d | sed 's,^.*/\([^/]*\).git$,\1,' | sort "