diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-05-05 11:16:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-05 22:02:39 -0700 |
commit | e84dc6df86ce91ecc1e355c323a0e681cb82f801 (patch) | |
tree | 76d159f8496aa2015ef512694713e07b28eccca7 /git-svn.perl | |
parent | 7dae8b21c2fe39a59661c709f0dc17090dafa5a4 (diff) | |
download | git-e84dc6df86ce91ecc1e355c323a0e681cb82f801.tar.gz |
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>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index 25ed2f4333..8b9ad38f85 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 |