• Show log

    Commit

  • Hash : 04a36fef
    Author : Carlos Martín Nieto
    Date : 2014-10-11T15:48:29

    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.