From: Ben Jackson Date: Sun, 31 May 2009 01:17:06 GMT Subject: [PATCH 1/2] Add 'git svn help [cmd]' which works outside a repo. Message-ID: <1243732627-82282-1-git-send-email-ben@ben.com> 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 --- This was just a minor nit I noticed while working on the 'git-svn reset' patch. git-svn.perl | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/git-svn.perl b/git-svn.perl index a70c7d7..20bf828 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -219,6 +219,9 @@ for (my $i = 0; $i < @ARGV; $i++) { $cmd = $ARGV[$i]; splice @ARGV, $i, 1; last; + } elsif ($ARGV[$i] eq 'help') { + $cmd = $ARGV[$i+1]; + usage(0); } }; -- 1.6.3.GIT