path: root/receive-pack.c
diff options
authorJunio C Hamano <>2007-01-25 00:47:24 (GMT)
committerJunio C Hamano <>2007-01-25 02:08:02 (GMT)
commitaf7cf268f0bf8d4216f9c11d1cb0082cb3550f61 (patch)
treefb4cc3c94a6c793122e02c3797b04f6716549e62 /receive-pack.c
parent9e10fd1ac0bb50202138efb9291568160dacd7ab (diff)
fetch-pack: remove --keep-auto and make it the default.
This makes git-fetch over git native protocol to automatically decide to keep the downloaded pack if the fetch results in more than 100 objects, just like receive-pack invoked by git-push does. This logic is disabled when --keep is explicitly given from the command line, so that a very small clone still keeps the downloaded pack as before. The 100 threshold can be adjusted with fetch.unpacklimit configuration. We might want to introduce transfer.unpacklimit to consolidate the two unpacklimit variables, which will be a topic for the next patch. Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'receive-pack.c')
0 files changed, 0 insertions, 0 deletions