[PATCH v3 11/10] fixup! transport-helper: add support to delete branches
- From
- Richard Hansen <rhansen@bbn.com>
- Date
- Oct 27, 2013, 04:34 UTC
- Message-ID
- <1382848452-7953-1-git-send-email-rhansen@bbn.com>
- In-Reply-To
- <1381561533-20381-6-git-send-email-felipe.contreras@gmail.com>
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 <rhansen@bbn.com> --- 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