summaryrefslogtreecommitdiff
path: root/export.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 02:35:47 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 02:35:47 (GMT)
commitf846bbff1507ebd0f25e480feacef2954a2629dd (patch)
tree640a42e75e45f0e5534c8c3ca862c8263ab07850 /export.c
parent75c42d8cc3b42e4b82946848b8ba902b4bbcc38d (diff)
downloadgit-f846bbff1507ebd0f25e480feacef2954a2629dd.zip
git-f846bbff1507ebd0f25e480feacef2954a2629dd.tar.gz
git-f846bbff1507ebd0f25e480feacef2954a2629dd.tar.bz2
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 'export.c')
0 files changed, 0 insertions, 0 deletions