summaryrefslogtreecommitdiff
path: root/include/git2/notes.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-11 15:48:29 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-11 02:36:11 +0100
commit04a36feff152fef2fd5f45c46b5cf25e84c7099f (patch)
treec037954110cd0af20e04882e5ba0049975d77fe9 /include/git2/notes.h
parentb63b76e0b0b658dff328e0d9e109ce040830786c (diff)
downloadlibgit2-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