From: "Philip Oakley" <philipoakley@iee.org>
To: "Kyle J. McKay" <mackyle@gmail.com>
Cc: "Git Mailing List" <git@vger.kernel.org>,
"Adam Spiers" <git@adamspiers.org>,
"Junio C Hamano" <gitster@pobox.com>
Subject: Re: Any chance for a Git v2.1.5 release?
Date: Fri, 27 Feb 2015 22:49:30 -0000 [thread overview]
Message-ID: <D1DF80CD81FD4C96BA973BFCD998E7B1@PhilipOakley> (raw)
In-Reply-To: 35E11B78-6FF8-41DE-BBF5-8978DA2F87A6@gmail.com
From: "Kyle J. McKay" <mackyle@gmail.com>
> On Feb 26, 2015, at 12:54, Junio C Hamano wrote:
>
>> "Kyle J. McKay" <mackyle@gmail.com> writes:
>>
>>> I would like to better understand how the various heads are
>>> maintained. I've read MaintNotes and I've got the concepts, but I'm
>>> still a little fuzzy on some details. It looks to me like all
>>> topics
>>> still only in pu after master has been updated are then rebased onto
>>> the new master and then pu is rebuilt.
>>
>> Topics in 'pu' not yet in 'next' _can_ be rebased, but unless there
>> is a good reason to do so, I wouldn't spend extra cycles necessary
>> to do such thing. I even try to keep the same base when replacing
>> the contents of a branch with a rerolled series. For example, today
>> I have this:
>>
>> $ git config alias.lgf
>> log --oneline --boundary --first-parent
>> $ git lgf master..nd/slim-index-pack-memory-usage
>> 3538291 index-pack: kill union delta_base to save memory
>> 7b4ff41 FIXUP
>> 45b6b71 index-pack: reduce memory footprint a bit
>> - 9874fca Git 2.3
>>
>> and Duy has a newer iteration of it starting at $gmane/264429. What
>> I would do, after saving these patches in a mbox +nd-index-pack,
>> would be to
>>
>> $ git checkout 9874fca
>> $ git am -s3c ./+nd-index-pack
>> $ git show-branch HEAD nd/slim-index-pack-memory-usage
>> ... compare corresponding changes between the old and the new
>> ... until I am satisified; otherwise I may tweak the new one
>> $ git rebase -i 9874fca
>> ... and then finally
>> $ git branch -f nd/slim-index-pack-memory-usage HEAD
>>
>> to update the topic. Of course, it would be necessary to rebuild
>> 'pu' by merging all the topics that are in it on top of 'master'.
>
> Thanks. That's helpful.
>
>> After finishing 2.3.0 release, at some point while 'master' is still
>> at 2.3.0, something like this would happen:
>>
>> $ git branch -m maint maint-2.2
>> $ git branch maint master
>
> So the reason I don't notice force-updates to maint when this happens
> is because of the "Sync with maint" commits that make sure the new
> maint contains the old one.
>
>>> Also, how do you handle a down merge to maint when you have this:
>>>
>>> * (master)
>>> * merge topic foo
>>> |\
>>> | * topic foo
>>> |/
>>> * c
>>> * b
>>> * a
>>> * (tag: vX.X.X, maint)
>>> *
>>
>> I don't, and this is done by making sure I do not get into such a
>> situation in the first place.
>>
>> A general rule of thumb when applying a set of patches that are
>> fixes eventually worth having in older maintenance tracks is to find
>> the oldest maintenance branch and apply them there.
>
> If I were to keep a maint-lts branch somewhere I would need to cherry-
> pick topics with desired fixes that fall into that situation. That's
> what I expected but when you mentioned down merging the fixes I wanted
> to make sure I wasn't overlooking something.
<minor bikeshed>
The announcement a few days ago by Adam Spiers ($gmane/264405) of a new
video of his git-deps tool ($gmane/262606) may be of interest for
determining the dependency charts. It looked interesting for this type
of issue.
His original blog is http://blog.adamspiers.org/2015/01/19/git-deps/
with repo at https://github.com/aspiers/git-deps
<\minor bikeshed>
>
> I'll see about setting up a maint-lts in a local git repository clone
> and tracking LTS fixes. If I'm able to keep that going without it
> becoming a black-hole of temporal need that sucks the life right out
> of me ;) then perhaps we can have a discussion at a future date
> about what would be needed for you to consider pulling from it and
> issuing LTS releases off it. :)
>
> -Kyle
> --
Philip
next prev parent reply other threads:[~2015-02-27 22:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <C5211E53-8905-41C9-9D28-26D7BB51E76A@gmail.com>
[not found] ` <xmqqk2z7qe8s.fsf@gitster.dls.corp.google.com>
2015-02-25 0:55 ` Any chance for a Git v2.1.5 release? Kyle J. McKay
2015-02-25 5:13 ` Junio C Hamano
2015-02-26 7:40 ` Kyle J. McKay
2015-02-26 20:54 ` Junio C Hamano
2015-02-26 23:38 ` Kyle J. McKay
2015-02-26 23:51 ` Junio C Hamano
2015-02-27 22:49 ` Philip Oakley [this message]
2015-03-12 1:23 ` Kyle J. McKay
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=D1DF80CD81FD4C96BA973BFCD998E7B1@PhilipOakley \
--to=philipoakley@iee.org \
--cc=git@adamspiers.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=mackyle@gmail.com \
/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