subtree woes

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

subtree woes

From: Paul Harris <hidden>
Date: 2016-06-15 22:53:59

Hello,

I'm shifting my projects to use a subtree system, and I'm having some trouble.
Looks like I'm hitting a subtree-merge bug, although I thought they
were all fixed by now.

I'm using cygwin, git 1.7.9 and apenwarr's git-subtrees repo.
I've also tried git 1.7.10.msysgit.1 with apenwarr's git-subtrees.

I've created a repo on github with a test:
https://github.com/paulharris/subtree_test

The procedure is described in the readme, and has the results too.

In short, I set up a superproject, with some subproject/subtrees.
I have a branch that is my subtree, and now I want to merge it,
like so:
git subtree merge -P zlib origin/subtrees/zlib

Instead of merging the subfolder, it clears the super-project and all
I am left with is the zlib project !

thanks!
Paul

Re: subtree woes

From: Herman van Rink <hidden>
Date: 2016-06-15 22:54:00

On 05-06-12 09:09, Paul Harris wrote:
Hello,

I'm shifting my projects to use a subtree system, and I'm having some trouble.
Looks like I'm hitting a subtree-merge bug, although I thought they
were all fixed by now.

I'm using cygwin, git 1.7.9 and apenwarr's git-subtrees repo.
I've also tried git 1.7.10.msysgit.1 with apenwarr's git-subtrees.

Your origin/subtrees/zlib branch contains the zlib directory, not the
just the contents of that directory.

Please have a look in the contrib/subtree folder of git-core.
Work is ongoing to integrate apenwarr's code.

My latest stuff is in: https://github.com/helmo/git

-- 
Met vriendelijke groet / Regards,

Herman van Rink 
Initfour websolutions
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help