3 ms·
I can't seem to find the rebase code? I've always wondered how that part works. Great work otherwise! I've already taken a look at the three way merger code.
by 317070 12y ago
I can't seem to find the rebase code? I've always wondered how that part works. Great work otherwise! I've already taken a look at the three way merger code.
- ethomson 12y agoIn a nutshell, it checks out the target and cherry-picks what had been HEAD onto it, beginning at the merge-base. https://github.com/libgit2/libgit2/blob/master/src/rebase.c https://github.com/libgit2/libgit2/blob/master/src/rebase.c may be helpful and (hopefully) readable.