Skip to content

Commit e84dc6d

Browse files
robbat2gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7dae8b2 commit e84dc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-svn.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ BEGIN
133133
%cmt_opts, %fc_opts } ],
134134
'set-tree' => [ \&cmd_set_tree,
135135
"Set an SVN repository to a git tree-ish",
136-
{ 'stdin|' => \$_stdin, %cmt_opts, %fc_opts, } ],
136+
{ 'stdin' => \$_stdin, %cmt_opts, %fc_opts, } ],
137137
'create-ignore' => [ \&cmd_create_ignore,
138138
'Create a .gitignore per svn:ignore',
139139
{ 'revision|r=i' => \$_revision

0 commit comments

Comments
 (0)