summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4ad5f0)
raw | patch | inline | side by side (parent: e4ad5f0)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 6 Aug 2005 17:16:52 +0000 (10:16 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 6 Aug 2005 17:19:38 +0000 (10:19 -0700) |
The revised code accidentally inherited the restriction that a
reference can be pushed only once, only because the original did
not allow renaming. This is no longer necessary so lift it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
reference can be pushed only once, only because the original did
not allow renaming. This is no longer necessary so lift it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
connect.c | patch | blob | history |
diff --git a/connect.c b/connect.c
index 3953a1af3d321091d53a1381ded0be1abb4d9deb..c872bfd45b815d12ba87d215cc157495b6a1e4aa 100644 (file)
--- a/connect.c
+++ b/connect.c
}
if (errs)
continue;
- if (matched_src->peer_ref) {
- errs = 1;
- error("src ref %s is sent to more than one dst.",
- matched_src->name);
- }
- else
- matched_src->peer_ref = matched_dst;
if (matched_dst->peer_ref) {
errs = 1;
error("dst ref %s receives from more than one src.",