]> git.proxmox.com Git - libgit2.git/commit - src/annotated_commit.c
merge: use annotated commits for recursion
authorEdward Thomson <ethomson@edwardthomson.com>
Wed, 11 Nov 2015 05:21:26 +0000 (21:21 -0800)
committerEdward Thomson <ethomson@microsoft.com>
Wed, 25 Nov 2015 20:38:16 +0000 (15:38 -0500)
commit76ade3a0b87e279935eba54be2485105396edb7f
tree9a8310a2645ccca8074d2357ab07baf1bb9ffb87
parent7730fe8e9cda1e160bff1e78dfa2a898799d4365
merge: use annotated commits for recursion

Use annotated commits to act as our virtual bases, instead of regular
commits, to avoid polluting the odb with virtual base commits and
trees.  Instead, build an annotated commit with an index and pointers
to the commits that it was merged from.
src/annotated_commit.c
src/annotated_commit.h
src/merge.c