git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix sloppy Getopt::Long.
@ 2009-05-05 18:16 Robin H. Johnson
  2009-05-05 19:37 ` Junio C Hamano
       [not found] ` <7vljpazuyg.fsf@alter.siamese.dyndns.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Robin H. Johnson @ 2009-05-05 18:16 UTC (permalink / raw)
  To: git; +Cc: Robin H. Johnson

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-08 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-05 18:16 [PATCH] Fix sloppy Getopt::Long Robin H. Johnson
2009-05-05 19:37 ` Junio C Hamano
2009-05-05 20:21   ` Robin H. Johnson
     [not found] ` <7vljpazuyg.fsf@alter.siamese.dyndns.org>
     [not found]   ` <20090506064949.GB29479@dcvr.yhbt.net>
2009-05-06 16:13     ` Robin H. Johnson
2009-05-06 17:24       ` Junio C Hamano
2009-05-08 18:28         ` Robin H. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).