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

2013-10-26 Thread Richard Hansen
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 rhan...@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

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2013-10-26 Thread Felipe Contreras
On Sat, Oct 26, 2013 at 11:55 PM, Felipe Contreras
felipe.contre...@gmail.com wrote:
 On Sat, Oct 26, 2013 at 11:34 PM, Richard Hansen rhan...@bbn.com wrote:
 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.

 Looks awfully familiar to:

 http://article.gmane.org/gmane.comp.version-control.git/235973

 But since the project does have double standards, you might have
 better luck by simply not using my name.

Ahh, nevermind, it's a fix on top of my patch. I actually found this
and fixed it on my local branch, but didn't push it. Now I have.

https://github.com/felipec/git/commit/4820caafc1f0b9e346b369bb2bc2b7bfdc8a1957

-- 
Felipe Contreras
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html