summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-02Merge branch 'master' of git://github.com/psionides/git-subtreeLibravatar Avery Pennarun3-17/+164
* 'master' of git://github.com/psionides/git-subtree: improved rev_is_descendant_of_branch() function added temporary test dirs to gitignore added tests for recent changes fixed bug in commit message for split changed alias for --prefix from -p to -P fix for subtree split not finding proper base for new commits allow using --branch with existing branches if it makes sense added -m/--message option for setting merge commit message added -p alias for --prefix
2010-02-02Fix refspecs in given example for git subtree pull.Libravatar Arlen Cuss1-1/+1
(Updated slightly by apenwarr)
2010-01-12improved rev_is_descendant_of_branch() functionLibravatar Jakub Suder1-2/+2
2010-01-12added temporary test dirs to gitignoreLibravatar Jakub Suder1-0/+2
2010-01-12added tests for recent changesLibravatar Jakub Suder1-2/+104
2010-01-12fixed bug in commit message for splitLibravatar Jakub Suder1-1/+1
2010-01-12changed alias for --prefix from -p to -PLibravatar Jakub Suder1-2/+2
2010-01-10fix for subtree split not finding proper base for new commitsLibravatar Jakub Suder1-1/+4
2010-01-10allow using --branch with existing branches if it makes senseLibravatar Jakub Suder1-8/+26
2010-01-10added -m/--message option for setting merge commit messageLibravatar Jakub Suder1-4/+26
2010-01-06added -p alias for --prefixLibravatar Jakub Suder1-2/+2
2009-11-20Weird, I forgot to have 'make test' call test.sh.Libravatar Avery Pennarun1-0/+4
2009-11-15make git version dynamic when building documentationLibravatar Ben Walton1-1/+3
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
2009-11-15add installation support to MakefileLibravatar Ben Walton1-0/+20
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
2009-11-15Oops, forgot a COPYING file. It's GPLv2.Libravatar Avery Pennarun1-0/+339
Thanks to Ben Walton for pointing this out.
2009-11-04Add some tips for how to install.Libravatar Avery Pennarun2-0/+14
2009-10-02cmd_pull didn't support --squash correctly.Libravatar Avery Pennarun1-2/+3
We should implement it as git fetch ... git subtree merge ... But we were instead just calling git pull -s subtree ... because 'git subtree merge' used to be just an alias for 'git merge -s subtree', but it no longer is.
2009-10-02Fix a minor problem in identifying squashes vs. normal splits.Libravatar Avery Pennarun1-1/+3
This didn't seem to have any noticeable side effects other than suspicious-looking log messages when you used -d.
2009-10-02If someone provides a --prefix that ends with slash, strip the slash.Libravatar Avery Pennarun3-9/+5
Prefixes that differ only in the trailing slash should be considered identical. Also update the test to check that this works.
2009-10-02Merge branch 'master' of git://github.com/voxpelli/git-subtreeLibravatar Avery Pennarun1-0/+1
* 'master' of git://github.com/voxpelli/git-subtree: Check that the type of the tree really is a tree and not a commit as it seems to sometimes become when eg. a submodule has existed in the same position previously.
2009-10-02Add a README that says to email me instead of using github mail.Libravatar Avery Pennarun1-0/+8
What's with this new generation who hates email so much?
2009-09-30Check that the type of the tree really is a tree and not a commit as it ↵Libravatar Pelle Wessman1-0/+1
seems to sometimes become when eg. a submodule has existed in the same position previously.
2009-08-26Fix behaviour if you have a branch named the same as your --prefixLibravatar Avery Pennarun3-7/+2
We were trying to 'git checkout $prefix', which is ambiguous if $prefix names a directory *and* a branch. Do 'git checkout -- $prefix' instead. The main place this appeared was in 'git subtree add'. Reported by several people.
2009-08-26Improve patch to use git --exec-path: add to PATH instead.Libravatar Avery Pennarun1-1/+2
If you (like me) are using a modified git straight out of its source directory (ie. without installing), then --exec-path isn't actually correct. Add it to the PATH instead, so if it is correct, it'll work, but if it's not, we fall back to the previous behaviour.
2009-08-20Add explicit path of git installation by 'git --exec-path'.Libravatar kTln21-1/+1
As pointed out by documentation, the correct use of 'git-sh-setup' is using $(git --exec-path) to avoid problems with not standard installations. Signed-off-by: gianluca.pacchiella <pacchiel@studenti.ph.unito.it>
2009-08-12sort assertion to make it more genericLibravatar Amiel Martin1-1/+1
2009-08-12fixed order of assertion in testsLibravatar Amiel Martin1-1/+1
2009-08-02todo: idea for a 'git subtree grafts' commandLibravatar Avery Pennarun1-0/+3
2009-08-01todoLibravatar Avery Pennarun1-0/+2
2009-07-16todo^Libravatar Avery Pennarun1-0/+5
2009-07-10todoLibravatar Avery Pennarun1-0/+3
2009-07-08Docs: when pushing to github, the repo path needs to end in .gitLibravatar Avery Pennarun1-2/+2
Reported by Thell Fowler.
2009-07-07todoLibravatar Avery Pennarun1-0/+2
2009-07-02Some todo items reported by pmccurdyLibravatar Avery Pennarun1-2/+21
2009-06-15update todoLibravatar Avery Pennarun1-0/+3
2009-05-30man page: add an EXAMPLES section.Libravatar Avery Pennarun1-0/+62
2009-05-30Add basic git-subtree manpage in asciidoc format.Libravatar Avery Pennarun6-0/+392
2009-05-30Make --squash work with the 'add' command too.Libravatar Avery Pennarun2-20/+44
2009-05-30Fix splitting after using a squash merge.Libravatar Avery Pennarun1-2/+6
2009-05-30Don't squash-merge if the old and new commits are the same.Libravatar Avery Pennarun1-0/+4
2009-05-30Basic "subtree merge --squash" support.Libravatar Avery Pennarun1-1/+77
Instead of merging in the history of the entire subproject, just squash it all into one commit, but try to at least track which commits we used so that we can do future merges correctly. Bonus feature: we can actually switch branches of the subproject this way, just by "squash merging" back and forth from one tag to another.
2009-05-30merge_msg() is really more like rejoin_msg().Libravatar Avery Pennarun1-5/+8
2009-05-30FIXME help for --squash optionLibravatar Avery Pennarun1-0/+5
2009-05-30slightly rearrange help message for split.Libravatar Avery Pennarun1-2/+2
2009-05-30New --branch option to split command.Libravatar Avery Pennarun2-7/+29
This is just a handy way to create a new branch from the newly-split subtree.
2009-05-30typo in commentLibravatar Avery Pennarun1-1/+1
2009-05-24More to-do items based on feedbackLibravatar Avery Pennarun1-1/+13
2009-04-30Abort if --rejoin fails.Libravatar Avery Pennarun1-1/+1
Thanks to Eduardo Kienetz for noticing this.
2009-04-26debug messages are off by default; use -d to enable.Libravatar Avery Pennarun1-2/+18
Instead of debug messages, we print a progress counter to stderr.
2009-04-26test.sh: oops, never intended to count the raw number of commits.Libravatar Avery Pennarun1-4/+3
Just needed to make sure the count was non-zero.