Thread (16 messages) flat view 16 messages, 3 authors, 2016-06-15
DORMANTno replies

[PATCH v3 11/10] fixup! transport-helper: add support to delete branches

From: Richard Hansen <hidden>
Date: 2016-06-15 22:59:06
Subsystem: the rest · Maintainer: Linus Torvalds

Patch 2/10 (transport-helper: fix extra lines) deleted one copy of the
lines; patch 9/10 (transport-helper: add support to delete branches)
should delete the other copy of the lines.

Signed-off-by: Richard Hansen <redacted>
---
 transport-helper.c | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/transport-helper.c b/transport-helper.c
index 10db28e..23526de 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -878,9 +878,6 @@ static int push_refs_with_export(struct transport *transport,
 		char *private;
 		unsigned char sha1[20];
 
-		if (ref->deletion)
-			die("remote-helpers do not support ref deletion");
-
 		private = apply_refspecs(data->refspecs, data->refspec_nr, ref->name);
 		if (private && !get_sha1(private, sha1)) {
 			strbuf_addf(&buf, "^%s", private);
-- 
1.8.4.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help