summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4b7bbdd)
raw | patch | inline | side by side (parent: 4b7bbdd)
author | Benoit Sigoure <tsuna@lrde.epita.fr> | |
Sat, 3 Nov 2007 18:53:34 +0000 (19:53 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 4 Nov 2007 04:39:12 +0000 (21:39 -0700) |
"git svn <cmd> --help" gave options in the order they were found in a
Perl hash, which meant "randomly" to humans.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Perl hash, which meant "randomly" to humans.
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 22bb47b34d030ec4d1b3dc7cda05465559e0a09d..4900f57f18e113229a9248df7daa7e13f39becaf 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
next if $cmd && $cmd ne $_;
next if /^multi-/; # don't show deprecated commands
print $fd ' ',pack('A17',$_),$cmd{$_}->[1],"\n";
- foreach (keys %{$cmd{$_}->[2]}) {
+ foreach (sort keys %{$cmd{$_}->[2]}) {
# mixed-case options are for .git/config only
next if /[A-Z]/ && /^[a-z]+$/i;
# prints out arguments as they should be passed: