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

Re: [PATCH 10/10] push: teach push to be quiet if local ref is strict subset of remote ref

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:43:45

Junio C Hamano wrote:
Steffen Prohaska [off-list ref] writes:
quoted
quoted
You forgot a lot more important part.  Pushing into publishing
repositories.  And the discussion is about git-push command.
Exactly, here are two examples:

If you push only to publishing repositories that are read
only by others, you'll never encounter the problem that
10/10 tried to solve. The publishing repository is never
changed by others. You are the only one who pushes to this
repository. Therefore the remote never advances unexpectedly.
Wrong.

People can and do work from more than one private repositories
(I do).  In a sense, that is sharing the repository with
oneself.
I believe your troubles are alleviated a great deal by the fact
that you actually know when upstream has changes, and what those
changes are supposed to be. A communications breakdown with only
one person involved is sort of hard to imagine.
(actually, shared repository people seem to
prefer "fetch + rebase" over "pull" which is "fetch + merge").
That's definitely true. The number of useless merge-commits we
have in our repos is annoying, and has twice made bisect a bit
troublesome for no good reason.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help