Thread (24 messages) flat view 24 messages, 4 authors, 2016-06-15

Re: [PATCH v2 6/9] branch: display publish branch

From: Felipe Contreras <hidden>
Date: 2016-06-15 23:00:40

Ramkumar Ramachandra wrote:
Felipe Contreras wrote:
quoted
Signed-off-by: Felipe Contreras <redacted>
Please write a commit message, preferably showing the new git-branch output.
Yeah... this has been sitting in git-fc for quite a while, I wasn't expecting
to send this patch series again given that nobody commented on v1.
I noticed that this only picks up a publish-branch if
branch.*.pushremote is configured. What happened to the case when
remote.pushdefault is configured?
What happens when branch.*.remote is not configured for @{upstream}? The same
thing.

It might be useful to visualize what would be the name of the branch when
pushing it (without a refspec) even if the publish branch hasn't been
configured, but I think the code would be much more coplicated, and it would
break symetry with @{upstream}, besides, the user can just do 'git push -p
branch', and from that moment on it will be visible.

-- 
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