[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Messing with the VC history
From: |
David Kastrup |
Subject: |
Re: Messing with the VC history |
Date: |
Tue, 18 Nov 2014 09:41:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
> [1] However, some people think a mainline with only merge commits on
> it is pretty, and they just oppose rebasing on principle.
"Beauty" as an underlying concept of "pretty" usually involves
perfection, and perfection in technical settings implies everything
having a purpose. A merge commit is a branch that starts off somewhere
and ends somewhere. If there is no point to where the branch starts
off, the branch start is ugly, never mind whether you consider a merge
in itself pretty.
An example for a merge commit in a pretty-based development environment
would be
<URL:https://code.google.com/p/lilypond/issues/detail?id=4097#c14>. A
merge commit is used because not all intermediate states in the
logically separate commits may be compilable (either they are known to
be uncompilable, or the jury is out on them).
Even through the commit sequence itself has been "prettified" by
structuring it into separate commits doing one logical task, a merge
commit is warranted in order not to cause bisection problems. The
starting point of the branching point is not arbitrary: it is the parent
of the merge commit. Such an incestuous merge has to be ordered
explicitly using the --no-ff flag to merge.
--
David Kastrup
- Re: Messing with the VC history, (continued)
- Re: Messing with the VC history, Eli Zaretskii, 2014/11/16
- Re: Messing with the VC history, Óscar Fuentes, 2014/11/16
- Re: Messing with the VC history, Eli Zaretskii, 2014/11/16
- Re: Messing with the VC history, Stephen J. Turnbull, 2014/11/16
- Re: Messing with the VC history, John Yates, 2014/11/16
- Re: Messing with the VC history, Stephen J. Turnbull, 2014/11/16
- Re: Messing with the VC history, Lars Brinkhoff, 2014/11/18
- Re: Messing with the VC history, David Kastrup, 2014/11/18
- Re: Messing with the VC history, Stephen J. Turnbull, 2014/11/18
- Re: Messing with the VC history,
David Kastrup <=
- Re: Messing with the VC history, Barry Warsaw, 2014/11/18
- Re: Messing with the VC history, Andreas Schwab, 2014/11/18
- Re: Messing with the VC history, Stephen J. Turnbull, 2014/11/18
- Re: Messing with the VC history, Stefan Monnier, 2014/11/18
- Re: Messing with the VC history, Eli Zaretskii, 2014/11/17