git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] git-svn: wrap long lines in a few places

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 8, 2008, 08:41 UTC
Message-ID
<1218184918-9135-3-git-send-email-normalperson@yhbt.net>
In-Reply-To
<20080808084025.GA8718@untitled>

Oops, I let a few patches slip by with long lines in them. Extracted from an unrelated patch by: Marcus Griep <marcus@griep.us>

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 git-svn.perl |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index 47ad378..d7a884d 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -171,7 +171,8 @@ my %cmd = (
 			  'color' => \$Git::SVN::Log::color,
 			  'pager=s' => \$Git::SVN::Log::pager
 			} ],
-	'find-rev' => [ \&cmd_find_rev, "Translate between SVN revision numbers and tree-ish",
+	'find-rev' => [ \&cmd_find_rev,
+	                "Translate between SVN revision numbers and tree-ish",
 			{} ],
 	'rebase' => [ \&cmd_rebase, "Fetch and rebase your working directory",
 			{ 'merge|m|M' => \$_merge,
@@ -231,7 +232,9 @@ unless ($cmd && $cmd =~ /(?:clone|init|multi-init)$/) {
 my %opts = %{$cmd{$cmd}->[2]} if (defined $cmd);
 
 read_repo_config(\%opts);
-Getopt::Long::Configure('pass_through') if ($cmd && ($cmd eq 'log' || $cmd eq 'blame'));
+if ($cmd && ($cmd eq 'log' || $cmd eq 'blame')) {
+	Getopt::Long::Configure('pass_through');
+}
 my $rv = GetOptions(%opts, 'help|H|h' => \$_help, 'version|V' => \$_version,
                     'minimize-connections' => \$Git::SVN::Migration::_minimize,
                     'id|i=s' => \$Git::SVN::default_ref_id,
-- 
1.6.0.rc2.4.g0643f
Previous: Eric WongNext: Eric Wong
Message 12 of 14 in “git-svn: Allow deep branch names by supporting multi-globs”
  1. 2/2 git-svn: Allow deep branch names by supporting multi-globsMarcus Griep, Aug 6, 2008
  2. Eric WongAug 7, 2008
  3. 0/2 git-svn multi-glob fix and extensionMarcus Griep, Aug 7, 2008
  4. 1/2 Fix multi-glob assertion in git-svnMarcus Griep, Aug 7, 2008
  5. 2/2 git-svn: Allow deep branch names by supporting multi-globsMarcus Griep, Aug 7, 2008
  6. Eric WongAug 8, 2008
  7. 1/3 Fix multi-glob assertion in git-svnEric Wong, Aug 8, 2008
  8. Junio C HamanoAug 8, 2008
  9. Eric WongAug 9, 2008
  10. Junio C HamanoAug 9, 2008
  11. 2/3 git-svn: Allow deep branch names by supporting multi-globsEric Wong, Aug 8, 2008
  12. 3/3 git-svn: wrap long lines in a few placesEric Wong, Aug 8, 2008
  13. 1/3 Fix multi-glob assertion in git-svnEric Wong, Aug 8, 2008
  14. 2/3 git-svn: Allow deep branch names by supporting multi-globsEric Wong, Aug 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.