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

Re: [PATCH 01/10] push: change push to fail if short refname does not exist

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:45

Steffen Prohaska [off-list ref] writes:
Pushing a short refname used to create a new ref on on the
remote side if it did not yet exist. If you specified the wrong
branch accidentally it was created. A safety valve that pushes
only existing branches may help to avoid errors.
On the other hand, if you specified a wrong branch that exists
on the remote end accidentally, it still was pushed.  Do we want
to have a new "--i-really-want-to-push" option to make it safer?

I do not think so.  Why should a new branch be treated any
differently?

Will drop 1/10 and 2/10 for now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help