From: Avery Pennarun <apenwarr@gmail.com>
To: morgflast <daniel@sibblingz.com>
Cc: git@vger.kernel.org
Subject: Re: git subtree issues
Date: Tue, 3 Nov 2009 11:43:37 -0400 [thread overview]
Message-ID: <32541b130911030743i4dcd9e37q34ead6a4a9a9814c@mail.gmail.com> (raw)
In-Reply-To: <26159961.post@talk.nabble.com>
On Mon, Nov 2, 2009 at 11:56 PM, morgflast <daniel@sibblingz.com> wrote:
> git pull -s subtree vw_extensions master remote: Counting objects: 5, done.
> remote: Compressing objects: 100% (3/3), done.
> remote: Total 3 (delta 2), reused 0 (delta 0)
> Unpacking objects: 100% (3/3), done.
> From git@github.com:sibblingz/vw_extensions
> * branch master -> FETCH_HEAD
> Already uptodate!
> Merge made by subtree.
>
> However, when I looked at the README file in the first project, the changes
> weren't there. I was wondering if anyone might have any suggestions about
> what to do.
Hmm, the output certainly wasn't very helpful :(
Usually what "already uptodate" means is that the commit it merged
didn't actually cause any changes. Is it possible there's another
README file that already contained this change?
The other problem with subtree merge is that it tries to *guess* which
subtree you want to merge, which unfortunately fails almost as often
as it succeeds. If it guessed incorrectly, it might have thrown away
all the directories except one that didn't change at all. If this is
the problem, I don't have an easy fix; my git-subtree command (which
makes it a bit easier to do the things you're trying to do in your
email) suffers from this too. Eventually I was thinking of giving in
and making subtree merge properly configurable, but I haven't had
time.
Or maybe this is a totally different problem. What do you get from:
git diff --stat $(git merge-base HEAD^ FETCH_HEAD) FETCH_HEAD
?
Avery
next prev parent reply other threads:[~2009-11-03 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 3:56 git subtree issues morgflast
2009-11-03 15:43 ` Avery Pennarun [this message]
[not found] ` <bdccb6a00911031019y48f1d1aax9be7b49e3463595@mail.gmail.com>
2009-11-04 19:57 ` Avery Pennarun
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=32541b130911030743i4dcd9e37q34ead6a4a9a9814c@mail.gmail.com \
--to=apenwarr@gmail.com \
--cc=daniel@sibblingz.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).