summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Robin H. Johnson <robbat2@gentoo.org>2009-05-05 11:16:14 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-05 22:02:39 -0700
commite84dc6df86ce91ecc1e355c323a0e681cb82f801 (patch)
tree76d159f8496aa2015ef512694713e07b28eccca7
parentdiff -c -p: do not die on submodules (diff)
downloadtgif-e84dc6df86ce91ecc1e355c323a0e681cb82f801.tar.xz
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>
-rwxr-xr-xgit-svn.perl2
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