summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5eec27e)
raw | patch | inline | side by side (parent: 5eec27e)
author | Ben Jackson <ben@ben.com> | |
Sun, 31 May 2009 01:17:06 +0000 (18:17 -0700) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 25 Jun 2009 07:38:16 +0000 (00:38 -0700) |
Previously there was no explicit 'help' command, but 'git svn help'
still printed the usage message (as an invalid command), provided you
got past the initialization steps that required a valid repo.
Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
still printed the usage message (as an invalid command), provided you
got past the initialization steps that required a valid repo.
Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 33fe34cbacfab18ccb0b2fbd53052e90f45e95a9..da1e1f64e9f3da06f687b447e448ad5bc6079072 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
$cmd = $ARGV[$i];
splice @ARGV, $i, 1;
last;
+ } elsif ($ARGV[$i] eq 'help') {
+ $cmd = $ARGV[$i+1];
+ usage(0);
}
};