[PATCH] Fix sloppy Getopt::Long.
- From
Robin H. Johnson <robbat2@gentoo.org>
- Date
- May 5, 2009, 18:16 UTC
- Message-ID
- <1241547374-6737-1-git-send-email-robbat2@gentoo.org>
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>
=== Should be applied to both the stable 1.6.2.x tree and the new 1.6.3 tree. --- git-svn.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl index c5965c9..ef1d30d 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -147,7 +147,7 @@ my %cmd = ( 'dry-run|n' => \$_dry_run } ], '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
-- 1.6.2.3