git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7dae8b2
)
git-svn: fix a sloppy Getopt::Long usage
author
Robin H. Johnson
<redacted>
Tue, 5 May 2009 18:16:14 +0000
(11:16 -0700)
committer
Junio C Hamano
<redacted>
Wed, 6 May 2009 05:02:39 +0000
(22:02 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-svn.perl
patch
|
blob
|
history
diff --git
a/git-svn.perl
b/git-svn.perl
index 25ed2f43335bfa717d9bbc1a799c7841c25b1cc0..8b9ad38f85653e5a7f03eb623610893818c92ddb 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT