From: Matthew Wilcox <matthew@wil.cx>
To: parisc-linux@parisc-linux.org
Subject: [parisc-linux] Proposal for git tree management
Date: Sat, 7 Oct 2006 18:41:52 -0600 [thread overview]
Message-ID: <20061008004151.GZ2563@parisc-linux.org> (raw)
I think the git development model is working out pretty well. We've
committed around 100 patches to our tree since we switched to using git.
Most of those have gone upstream, mostly through Kyle's hard work.
However, figuring out what is left to merge is getting harder. Due to
trying to keep Linus' tree clean, the commit that goes into our
development tree isn't the same one that ends up in his tree. So it's
hard to tell what's been committed and what hasn't. Don't get me wrong,
it's still an improvement over using CVS, but I think we could use Git
more effectively.
Right now, git-log linus..origin shows all the patches we've ever
committed, regardless of whether they've been merged. A graphic would
make this easier:
A -> B -> C -> D' -> E
\-> D -------/-> F --\->G
This illustrates Linus' tree at time A. We clone his tree and make
change D, and eventually it ends up in Linus' tree as D' (after changes
B and C have happened in his tree). At point G, git-log linus..master
shows change D, even though it was already merged to the linus tree.
The obvious solution is to rebase the tree. We start a new origin
branch from point E and pull commit F onto it as commit F'. But if we
delete the former origin branch we lose our history. So I'd like to
rename it (probably to something like devel-2006-10-07), and create a
new origin. That way we can still go back and find our history, and
still keep git-log useful.
I'm concerned we may get an unreasonable number of branches using this
scheme. Using a date (rather than a cardinal) helps understand how
relevant a branch may be.
Anyway, comments, suggestions, alternatives, abuse?
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next reply other threads:[~2006-10-08 0:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-08 0:41 Matthew Wilcox [this message]
2006-10-09 3:29 ` [parisc-linux] Proposal for git tree management Grant Grundler
2006-10-09 11:39 ` Thibaut VARENE
2006-10-09 18:06 ` Matthew Wilcox
2006-10-09 18:15 ` Kyle McMartin
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=20061008004151.GZ2563@parisc-linux.org \
--to=matthew@wil.cx \
--cc=parisc-linux@parisc-linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox