shithub: git9

Download patch

ref: 5add783e89fad10069df63ef4314affb6d002b61
parent: 9b86df709d4bca2a3ec5b342de04cadefe9e4192
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Dec 5 12:51:20 EST 2020

git/send: smaller packfiles when pushing

When pushing to a remote repository, we would
pack at least all objects in one commit, even
if the remote repository had most of them.

This change prunes out all objects from the
last commit that they have, which should drop
the size of the generated pack file noticably
for the common case of pushing a commit or
that changes a small percentage of files
in a larger repository.