diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-11 15:48:29 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-11 02:36:11 +0100 |
commit | 04a36feff152fef2fd5f45c46b5cf25e84c7099f (patch) | |
tree | c037954110cd0af20e04882e5ba0049975d77fe9 /include/git2/notes.h | |
parent | b63b76e0b0b658dff328e0d9e109ce040830786c (diff) | |
download | libgit2-04a36feff152fef2fd5f45c46b5cf25e84c7099f.tar.gz |
pack-objects: fill a packbuilder from a walk
Most use-cases for the object packer communicate in terms of commits
which each side has. We already have an object to specify this
relationship between commits, namely git_revwalk.
By knowing which commits we want to pack and which the other side
already has, we can perform similar optimisations to git, by marking
each tree as interesting or uninteresting only once, and not sending
those trees which we know the other side has.
Diffstat (limited to 'include/git2/notes.h')
0 files changed, 0 insertions, 0 deletions