diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-24 16:47:24 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-24 18:08:02 -0800 |
commit | af7cf268f0bf8d4216f9c11d1cb0082cb3550f61 (patch) | |
tree | fb4cc3c94a6c793122e02c3797b04f6716549e62 /git-reset.sh | |
parent | 9e10fd1ac0bb50202138efb9291568160dacd7ab (diff) | |
download | git-af7cf268f0bf8d4216f9c11d1cb0082cb3550f61.tar.gz git-af7cf268f0bf8d4216f9c11d1cb0082cb3550f61.tar.xz |
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 'git-reset.sh')
0 files changed, 0 insertions, 0 deletions