From: Junio C Hamano <junkio@cox.net>
To: Andy Parkins <andyparkins@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 0/8] git-repack --max-pack-size
Date: Tue, 01 May 2007 02:10:33 -0700 [thread overview]
Message-ID: <7virbc7vue.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <200705010926.35265.andyparkins@gmail.com> (Andy Parkins's message of "Tue, 1 May 2007 09:26:33 +0100")
Andy Parkins <andyparkins@gmail.com> writes:
> On Tuesday 2007 May 01, Junio C Hamano wrote:
>
>> Which leaves 'master' right now at v1.5.2-rc1 while 'next' at
>> v1.5.2-rc1-687-gcb3892c; we might want to do something about
>> this apparent discrepancy.
>
> It's perfect - I'd say that it's exactly right.
>
> git-describe is for making unique - human readable names for points in
> history, not for describing the tree. It makes no difference that A and B
> have the same tree, they are different points.
>
> I've always thought of git-describe as being a way of mapping a commit hash to
> a nicer looking name. If A and B are different commits then they should have
> different names.
Although 'next' and 'master' have vastly different histories
behind them, among 685 commits between master and next, only 27
are non-merges, among which 20 are "real" commits that tried to
advance various topics that failed, and 7 are reverts against
these 20 commits [*1*].
Even though hstory of failed attempts (why they initially seemed
good ideas, how they tried to solve problems, and why they
turned out not to be so good ideas in the end) are interesting,
if we ignore the failed attempts, iow, if we view the history
from the point of view of "surviving features", the development
history of 'next' and 'master' are moral equivalents. Yes, most
of them were merged way earlier in 'next' than 'master', many of
them were merged in multiple steps of two and three to 'next'
and then finally merged to 'master' with a single merge, but the
changes did hit both 'master' and 'next' (obviously, that is why
we ended up with the same trees).
So the equivalence of 'master' and 'next' tonight is not quite
the same as equating two random commits that happen to have the
same tree. v1.5.2-rc1 and v1.5.2-rc1-687-gcb3892c should
naturally have the same tree because they share conceptually the
same history.
But I was not talking about changing describe output because of
the above argument. What I was wondering was that it might be a
good idea to loosen the promise of never rewinding 'next'. It
might be easier to view the history of 'next' during development
for each cycle, if it started afresh after a feature release.
Since now we are in a stabilization freeze, I expect that
'master' and 'next' will always have identical trees until
v1.5.2 final. We _could_ declare now that 'next' will be reset
to 'master' when v1.5.2 happens, and people who forked from
'next' to do their own customization can rebase any time that is
convenient for them between tonight and v1.5.2 final.
I was not sure if that is even a good idea, and I am now
inclined to think that keeping the failed attempt history is
probably better than potentially causing confusion to people who
follow 'next'. But it _is_ a possibility to reset 'next' to
'master'.
[Footnote]
*1* Some topics I did not use "git revert" to revert them
one-by-one; instead, I reverted a whole topic with one commit.
next prev parent reply other threads:[~2007-05-01 9:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 23:16 [PATCH 0/8] git-repack --max-pack-size Dana How
2007-05-01 3:20 ` Junio C Hamano
2007-05-01 4:37 ` Shawn O. Pearce
2007-05-01 8:26 ` Andy Parkins
2007-05-01 9:10 ` Junio C Hamano [this message]
2007-05-01 9:36 ` Andy Parkins
2007-05-01 14:46 ` Nicolas Pitre
2007-05-01 17:11 ` Junio C Hamano
2007-05-01 17:17 ` Nicolas Pitre
2007-05-01 17:42 ` Johannes Schindelin
2007-05-01 19:07 ` Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2007-04-08 23:17 Dana How
2007-04-09 2:33 ` Nicolas Pitre
2007-04-09 18:54 ` Dana How
2007-04-09 19:43 ` Dana How
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7virbc7vue.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=andyparkins@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.