From: Junio C Hamano Date: Fri, 21 Aug 2009 18:34:02 +0000 (-0700) Subject: Merge branch 'np/maint-limit-delta-cache' into maint X-Git-Tag: v1.6.4.1~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f393747c4c1328d01840a4a3345b859c2dea24a5?ds=inline;hp=-c Merge branch 'np/maint-limit-delta-cache' into maint * np/maint-limit-delta-cache: don't let the delta cache grow unbounded in 'git repack' --- f393747c4c1328d01840a4a3345b859c2dea24a5 diff --combined Documentation/config.txt index e94a8ab746,7791c32bc3..2632c5149e --- a/Documentation/config.txt +++ b/Documentation/config.txt @@@ -605,7 -605,7 +605,7 @@@ color.interactive.: Use customized color for 'git-add --interactive' output. `` may be `prompt`, `header`, `help` or `error`, for four distinct types of normal output from interactive - programs. The values of these variables may be specified as + commands. The values of these variables may be specified as in color.branch.. color.pager:: @@@ -1113,7 -1113,7 +1113,7 @@@ instaweb.port: linkgit:git-instaweb[1]. interactive.singlekey:: - In interactive programs, allow the user to provide one-letter + In interactive commands, allow the user to provide one-letter input with a single key (i.e., without hitting enter). Currently this is used only by the `\--patch` mode of linkgit:git-add[1]. Note that this setting is silently @@@ -1218,12 -1218,20 +1218,20 @@@ pack.compression: pack.deltaCacheSize:: The maximum memory in bytes used for caching deltas in - linkgit:git-pack-objects[1]. - A value of 0 means no limit. Defaults to 0. + linkgit:git-pack-objects[1] before writing them out to a pack. + This cache is used to speed up the writing object phase by not + having to recompute the final delta result once the best match + for all objects is found. Repacking large repositories on machines + which are tight with memory might be badly impacted by this though, + especially if this cache pushes the system into swapping. + A value of 0 means no limit. The smallest size of 1 byte may be + used to virtually disable this cache. Defaults to 256 MiB. pack.deltaCacheLimit:: The maximum size of a delta, that is cached in - linkgit:git-pack-objects[1]. Defaults to 1000. + linkgit:git-pack-objects[1]. This cache is used to speed up the + writing object phase by not having to recompute the final delta + result once the best match for all objects is found. Defaults to 1000. pack.threads:: Specifies the number of threads to spawn when searching for best