git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 4/4] git-svn: sort multi-init output

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 28, 2006, 09:16 UTC
Message-ID
<11672973863687-git-send-email-normalperson@yhbt.net>
In-Reply-To
<11672973823960-git-send-email-normalperson@yhbt.net>
This looks a bit more pleasant for users.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 git-svn.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index 74a3424..b28c5bb 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
 		}
-- 
1.4.4.3.gd4ada
Previous: Eric Wong
Message 4 of 4 in “git-svn: remove non-delta fetch code paths”
  1. 1/4 git-svn: remove non-delta fetch code pathsEric Wong, Dec 28, 2006
  2. 2/4 git-svn: print out the SVN library version in --version, tooEric Wong, Dec 28, 2006
  3. 3/4 git-svn: verify_ref() should actually --verifyEric Wong, Dec 28, 2006
  4. 4/4 git-svn: sort multi-init outputEric Wong, Dec 28, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.