git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Hansen <rhansen@bbn.com>
To: git@vger.kernel.org
Cc: srabbelier@gmail.com, felipe.contreras@gmail.com,
	Richard Hansen <rhansen@bbn.com>
Subject: [PATCH v3 11/10] fixup! transport-helper: add support to delete branches
Date: Sun, 27 Oct 2013 00:34:12 -0400	[thread overview]
Message-ID: <1382848452-7953-1-git-send-email-rhansen@bbn.com> (raw)
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

  reply	other threads:[~2013-10-27  4:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-12  7:05 [PATCH v3 00/10] transport-helper: updates Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 03/10] transport-helper: check for 'forced update' message Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 05/10] fast-export: add new --refspec option Felipe Contreras
2013-10-14 19:42   ` Eric Sunshine
2013-10-12  7:05 ` [PATCH v3 06/10] transport-helper: add support for old:new refspec Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 02/10] transport-helper: fix extra lines Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 09/10] transport-helper: add support to delete branches Felipe Contreras
2013-10-27  4:34   ` Richard Hansen [this message]
2013-10-27  4:55     ` [PATCH v3 11/10] fixup! " Felipe Contreras
2013-10-27  5:00       ` Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 01/10] transport-helper: add 'force' to 'export' helpers Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 08/10] fast-export: add support to delete refs Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 10/10] transport-helper: don't update refs in dry-run Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 07/10] fast-import: add support to delete refs Felipe Contreras
2013-10-12  7:05 ` [PATCH v3 04/10] fast-export: improve argument parsing Felipe Contreras
2013-10-27  6:23 ` [PATCH v3 00/10] transport-helper: updates Richard Hansen

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=1382848452-7953-1-git-send-email-rhansen@bbn.com \
    --to=rhansen@bbn.com \
    --cc=felipe.contreras@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=srabbelier@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).