author | Avery Pennarun <apenwarr@gmail.com> | |
Sun, 26 Apr 2009 21:07:16 +0000 (17:07 -0400) | ||
committer | Avery Pennarun <apenwarr@gmail.com> | |
Sun, 26 Apr 2009 21:07:16 +0000 (17:07 -0400) | ||
commit | 49cf82288aac5f0dcb152e2d75cd340e48d9e760 | |
tree | f705407005d029df323a11557fdc37829da562ea | tree | snapshot |
parent | a64f3a7286c4e554b38cd3f7dc8c722aab97cf98 | commit | diff |
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.
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 | diff | blob | history |