From: Avery Pennarun <apenwarr@gmail.com>
To: git@vger.kernel.org
Cc: Avery Pennarun <apenwarr@gmail.com>
Subject: [PATCH/RFC RESEND 0/2] git subtree: an alternative to git submodule
Date: Fri, 8 May 2009 18:39:07 -0400 [thread overview]
Message-ID: <1241822349-27470-1-git-send-email-apenwarr@gmail.com> (raw)
Hi all,
I first sent out this patch set a couple of weeks ago
(http://article.gmane.org/gmane.comp.version-control.git/117612) and got a
couple of positive comments, but no negative ones, so I'm guessing people
haven't reviewed it as closely as I would have hoped :)
git subtree has these subcommands:
- add: connect a given commit to a given subtree, basically using the
occasionally-documented 'git read-tree --prefix; git commit' trick.
- merge: a user-friendlier form of 'git merge -s subtree'
- pull: likewise, but for git pull
- split: (the magical part!) generate a new commit series from the given
prefix, so you can submit subtree changes *back* to the upstream project
you merged in the first place.
Does anyone have any comments on what it would take to get the git subtree
stuff accepted into git?
Thanks,
Avery
Avery Pennarun (2):
Add 'git subtree' command for tracking history of subtrees
separately.
Automated test script for 'git subtree'.
.gitignore | 1 +
Makefile | 1 +
command-list.txt | 1 +
git-subtree.sh | 435 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
subtree-test.sh | 206 ++++++++++++++++++++++++++
5 files changed, 644 insertions(+), 0 deletions(-)
create mode 100755 git-subtree.sh
create mode 100755 subtree-test.sh
next reply other threads:[~2009-05-08 22:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-08 22:39 Avery Pennarun [this message]
2009-05-08 22:39 ` [PATCH/RFC RESEND 1/2] Add 'git subtree' command for tracking history of subtrees separately Avery Pennarun
2009-05-08 22:39 ` [PATCH/RFC RESEND 2/2] Automated test script for 'git subtree' Avery Pennarun
2009-05-15 16:09 ` git subtree: an alternative to git submodule Avery Pennarun
2009-05-15 18:11 ` Junio C Hamano
2009-05-15 18:31 ` Avery Pennarun
2009-05-18 15:55 ` Ping Yin
2009-05-18 15:55 ` Ping Yin
2009-05-18 16:38 ` Avery Pennarun
2009-05-19 14:27 ` Ping Yin
2009-05-19 16:13 ` Jakub Narebski
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=1241822349-27470-1-git-send-email-apenwarr@gmail.com \
--to=apenwarr@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 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).