summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:35:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:35:47 -0700
commitf846bbff1507ebd0f25e480feacef2954a2629dd (patch)
tree640a42e75e45f0e5534c8c3ca862c8263ab07850 /read-cache.c
parent75c42d8cc3b42e4b82946848b8ba902b4bbcc38d (diff)
downloadgit-f846bbff1507ebd0f25e480feacef2954a2629dd.tar.gz
git-pack-objects: make "--window=x" semantics more logical.
A zero disables delta generation (like before), but we make the window be one bigger than specified, since we use one entry for the one to be tested (it used to be that "--window=1" was meaningless, since we'd have used up the single-entry window with the entry to be tested, and had no chance of actually ever finding a delta). The default window remains at 10, but now it really means "test the 10 closest objects", not "test the 9 closest objects".
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions