Git development
 help / color / mirror / Atom feed
From: Yaacov Akiba Slama <ya@slamail.org>
To: unlisted-recipients:; (no To-header on input)
Subject: [PATCH 3/7] Don't output error when there are changes in the nodes /, /tags or /branches
Date: Wed, 02 Nov 2005 23:51:57 +0200	[thread overview]
Message-ID: <E1EXQWT-00050C-Td@localhost.localdomain> (raw)

---

 git-svnimport.perl |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

applies-to: d711bb120e7c95914069cff4996ddbcfc29c20f6
e5d8e159e80ead8eef0867a3662a83b3948aaa18
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 83b70f9..ea5bbdb 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -336,7 +336,12 @@ sub split_path($$) {
 	} elsif($path =~ s#^/\Q$branch_name\E/([^/]+)/?##) {
 		$branch = $1;
 	} else {
-		print STDERR "$rev: Unrecognized path: $path\n";
+		my %no_error = (
+			"/" => 1,
+			"/$tag_name" => 1,
+			"/$branch_name" => 1
+		);
+		print STDERR "$rev: Unrecognized path: $path\n" unless (defined $no_error{$path});
 		return ()
 	}
 	$path = "/" if $path eq "";
---
0.99.9.GIT

                 reply	other threads:[~2005-11-02 21:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1EXQWT-00050C-Td@localhost.localdomain \
    --to=ya@slamail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox