git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-subtree.sh - regression introduced by da949cc55
@ 2010-02-11 13:08 Marc Fournier
  2010-02-11 13:26 ` Jakub Suder
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Fournier @ 2010-02-11 13:08 UTC (permalink / raw)
  To: Avery Pennarun, Jakub Suder; +Cc: git

Hello,

Up to this commit, I was able to split out new trees out of sub-directories
of my project.

I used this to create a subproject out of a directory, without necessarily
knowing in advance that I could need the content of this directory in other
projects.

Since da949cc55, older unrelated commits get prepended to the history.

This issue is quite easy to reproduce:

 1. choose a directory in your project which hasn't been added with
    "git subtree add". Let's say it's called my/directory/.
 2. "git subtree split --prefix=my/directory --branch the-new-tree"
 3. "git log --stat the-new-tree"
 4. notice the mess which happens at the first commit concerning
    my/directory/ and how it then includes random older commits which have
    nothing related to my/directory.

Jakub, I'm not sure I understand what this patch is supposed to fix. Could
you provide an example ? Or a test case ?

Thanks !
Marc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-13 19:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 13:08 git-subtree.sh - regression introduced by da949cc55 Marc Fournier
2010-02-11 13:26 ` Jakub Suder
2010-02-12 17:52   ` Avery Pennarun
2010-02-13 19:41     ` Jakub Suder
2010-02-13 19:49       ` Avery Pennarun

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).