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>
This commit is contained in:
parent
7dae8b21c2
commit
e84dc6df86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user