From: Robin H. Johnson Date: Tue, 5 May 2009 18:16:14 +0000 (-0700) Subject: git-svn: fix a sloppy Getopt::Long usage X-Git-Tag: v1.6.3~9^2^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e84dc6df86ce91ecc1e355c323a0e681cb82f801;p=git.git git-svn: fix a sloppy Getopt::Long usage Getopt-Long v2.38 is much stricter about sloppy getopt usage. The trailing pipe causes git-svn testcases to fail for all of the --stdin argument calls. Signed-off-by: Robin H. Johnson Signed-off-by: Junio C Hamano --- diff --git a/git-svn.perl b/git-svn.perl index 25ed2f433..8b9ad38f8 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -133,7 +133,7 @@ my %cmd = ( %cmt_opts, %fc_opts } ], 'set-tree' => [ \&cmd_set_tree, "Set an SVN repository to a git tree-ish", - { 'stdin|' => \$_stdin, %cmt_opts, %fc_opts, } ], + { 'stdin' => \$_stdin, %cmt_opts, %fc_opts, } ], 'create-ignore' => [ \&cmd_create_ignore, 'Create a .gitignore per svn:ignore', { 'revision|r=i' => \$_revision