Closed d3m3vilurr closed 2 years ago
it can't fix subtree's problem that rebase action still lost prefix of subtree.
imo, a best shot is just pass the
git rebase target --strategy subtree
in my case, it could make a different result as --rebase-merges
--strategy subtree
also lost some part of the prefix.
Pick patch from #274 & fix unittests
This patch is useful in limitted environments. For example, if a project uses the
subtree
,rebase
command will break directory structure. (subtree
will make the patchset in same as original repo tree then move the directory inmerge
commit.)I just checked that this patch is keepping
merge
commits.Related #280