summaryrefslogtreecommitdiff
path: root/src/annotated_commit.h
Commit message (Collapse)AuthorAgeFilesLines
* annotated_commit: provide refs and descriptionethomson/annotated_commit_refsEdward Thomson2016-04-261-2/+5
| | | | | | | | | | | Differentiate between the ref_name used to create an annotated_commit (that can subsequently be used to look up the reference) and the description that we resolved this with (which _cannot_ be looked up). The description is used for things like reflogs (and may be a ref name, and ID something that we revparsed to get here), while the ref name must actually be a reference name, and is used for things like rebase to return to the initial branch.
* merge: use annotated commits for recursionEdward Thomson2015-11-251-1/+21
| | | | | | | 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.
* merge: merge annotated commits instead of regular commitsEdward Thomson2015-11-251-0/+2
|
* merge: octopus merge common ancestors when >2Edward Thomson2015-11-251-0/+3
| | | | | | When there are more than two common ancestors, continue merging the virtual base with the additional common ancestors, effectively octopus merging a new virtual base.
* s/git_merge_head/git_annotated_commitEdward Thomson2014-10-261-0/+22
Rename git_merge_head to git_annotated_commit, as it becomes used in more operations than just merge.