Thread (9 messages) flat view 9 messages, 2 authors, 2016-06-15

Re: [PATCH 2/6] Add concept of 'publish' branch

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:58:36

On Sun, Sep 1, 2013 at 3:41 AM, Eric Sunshine [off-list ref] wrote:
On Sun, Sep 1, 2013 at 4:26 AM, Felipe Contreras
[off-list ref] wrote:
quoted
+static void setup_push_simple(struct remote *remote, struct branch *branch,
+                               int triangular)
+{
+       if (branch->push_name) {
+               struct strbuf refspec = STRBUF_INIT;
+               strbuf_addf(&refspec, "%s:%s", branch->name, branch->push_name);
+               add_refspec(refspec.buf);
strbuf_release(&refspec);
Actually no, wee need that buffer. See setup_push_upstream().

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help