From: Eric Wong Date: Thu, 28 Dec 2006 09:16:22 +0000 (-0800) Subject: git-svn: sort multi-init output X-Git-Tag: v1.5.0-rc1~165 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4a4d94b29b4546e15e6f25f8739663562d4f64a5;p=git.git git-svn: sort multi-init output This looks a bit more pleasant for users. Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/git-svn.perl b/git-svn.perl index 74a3424b7..b28c5bbc7 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -2481,7 +2481,7 @@ sub libsvn_ls_fullurl { my $pool = SVN::Pool->new; my $r = defined $_revision ? $_revision : $ra->get_latest_revnum; my ($dirent, undef, undef) = $ra->get_dir('', $r, $pool); - foreach my $d (keys %$dirent) { + foreach my $d (sort keys %$dirent) { if ($dirent->{$d}->kind == $SVN::Node::dir) { push @ret, "$d/"; # add '/' for compat with cli svn }