Only copy a commit if it has at least one nonidentical parent.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 26 Apr 2009 21:07:16 +0000 (17:07 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 26 Apr 2009 21:07:16 +0000 (17:07 -0400)
commit49cf82288aac5f0dcb152e2d75cd340e48d9e760
treef705407005d029df323a11557fdc37829da562ea
parenta64f3a7286c4e554b38cd3f7dc8c722aab97cf98
Only copy a commit if it has at least one nonidentical parent.

This is a simplification of the previous logic.  I don't *think* it'll break
anything.

Results in far fewer useless merge commmits when playing with gitweb in the
git project:

git subtree split --prefix=gitweb --annotate='(split) ' 0a8f4f0^^..f2e7330
--onto=1130ef3

...and it doesn't *seem* to eliminate anything important.
git-subtree.sh