summaryrefslogtreecommitdiff
path: root/receive-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-25 00:47:24 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-25 02:08:02 (GMT)
commitaf7cf268f0bf8d4216f9c11d1cb0082cb3550f61 (patch)
treefb4cc3c94a6c793122e02c3797b04f6716549e62 /receive-pack.c
parent9e10fd1ac0bb50202138efb9291568160dacd7ab (diff)
downloadgit-af7cf268f0bf8d4216f9c11d1cb0082cb3550f61.zip
git-af7cf268f0bf8d4216f9c11d1cb0082cb3550f61.tar.gz
git-af7cf268f0bf8d4216f9c11d1cb0082cb3550f61.tar.bz2
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 <junkio@cox.net>
Diffstat (limited to 'receive-pack.c')
0 files changed, 0 insertions, 0 deletions