From: Junio C Hamano <gitster@pobox.com>
To: Raman Gupta <rocketraman@fastmail.fm>
Cc: Nanako Shiraishi <nanako3@lavabit.com>, git@vger.kernel.org
Subject: Re: [PATCH 1/2] Add feature release instructions to MaintNotes addendum
Date: Thu, 26 Mar 2009 13:28:38 -0700 [thread overview]
Message-ID: <7vprg4m3k9.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 49CB8871.2020605@fastmail.fm
Raman Gupta <rocketraman@fastmail.fm> writes:
> Nanako Shiraishi wrote:
>> Quoting rocketraman@fastmail.fm:
>>
>>> + - The 'maint' branch is updated to the new release.
>>> +
>>> + $ git checkout maint
>>> + $ git merge master
>>> +
>>> + This is equivalent to deleting maint and recreating it from
>>> + master, but it preserves the maint reflog.
>>
>> After giving a recipe that is better than an alternative, what's
>> the point of describing an inferior alternative as "equivalent",
>> when it is obviously not "equivalent"?
>
> Is this better:
>
> The resulting maint tree is equivalent to deleting maint and
> recreating it from the tip of master, but merging from master
> preserves the maint reflog.
It is unclear what you are trying to explain with these two (in your
original) or three (your rewrite) lines. As an explanation for the two
command sequence, I would expect to see:
"This merges the tip of the master into maint".
But that is literally what the command sequence does, so it goes without
saying.
If there is anything that needs to be said further, I think it is not how
delete-then-recreate is inappropriate (I do not think it is even worth
teaching). But you may want to explain the reason _why_ maint gets this
update from master. I thought the explanation "... is updated to the new
release" already covers that motivation, but if you want to make the
description really novice-friendly, you _could_ say something like:
Now a new release X.Y.Z is out, the 'maint' branch will be used to
manage the fixes to it. The branch used to be used for managing the
fixes to X.Y.(Z-1), and does not have any feature development that
happened between X.Y.(Z-1) and X.Y.Z. Because these changes are
contained in the 'master' branch, we can merge 'master' to 'maint' to
have the latter have them, which prepares it to be used for managing
the fixes to X.Y.Z.
I personally would not want to see somebody who needs the above to be
explained to take over git maintenance after I get hit by a wayward bus,
by the way ;-)
next prev parent reply other threads:[~2009-03-26 20:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 1:56 [PATCH 1/2] Add feature release instructions to MaintNotes addendum rocketraman
2009-03-26 1:56 ` [PATCH 2/2] Add feature release instructions to gitworkflows man page rocketraman
2009-03-26 6:48 ` Junio C Hamano
2009-03-26 14:35 ` Raman Gupta
[not found] ` <20090326121017.6117@nanako3.lavabit.com>
2009-03-26 13:51 ` [PATCH 1/2] Add feature release instructions to MaintNotes addendum Raman Gupta
2009-03-26 20:28 ` Junio C Hamano [this message]
2009-03-26 21:37 ` Raman Gupta
-- strict thread matches above, loose matches on Subject: below --
2009-03-30 5:35 rocketraman
2009-03-30 6:56 ` Junio C Hamano
2009-03-30 17:57 ` Raman Gupta
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=7vprg4m3k9.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=nanako3@lavabit.com \
--cc=rocketraman@fastmail.fm \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).