@matheusbsbs / matheus-bagliano / commits / e84dc6df86
Fork 0

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 <robbat2@gentoo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Robin H. Johnson committed May 5, 2009 at 11:16 UTC e84dc6df86ce91ecc1e355c323a0e681cb82f801
1 file changed +1 -1
git-svn.perl
+1 -1
@@ -133,7 +133,7 @@ my %cmd = (
133 %cmt_opts, %fc_opts } ],
134 'set-tree' => [ \&cmd_set_tree,
135 "Set an SVN repository to a git tree-ish",
136 - { 'stdin|' => \$_stdin, %cmt_opts, %fc_opts, } ],
136 + { 'stdin' => \$_stdin, %cmt_opts, %fc_opts, } ],
137 'create-ignore' => [ \&cmd_create_ignore,
138 'Create a .gitignore per svn:ignore',
139 { 'revision|r=i' => \$_revision