summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-28 21:48:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-12-01 19:46:09 (GMT)
commit568508e76570e9ea36aad6446959424cebcf0535 (patch)
tree9b71da7197e9a084c3406d6020672dd11ac26b24 /config.c
parent6c526148644475acbc047faaeb57d42fde1f667d (diff)
downloadgit-568508e76570e9ea36aad6446959424cebcf0535.zip
git-568508e76570e9ea36aad6446959424cebcf0535.tar.gz
git-568508e76570e9ea36aad6446959424cebcf0535.tar.bz2
bulk-checkin: replace fast-import based implementation
This extends the earlier approach to stream a large file directly from the filesystem to its own packfile, and allows "git add" to send large files directly into a single pack. Older code used to spawn fast-import, but the new bulk-checkin API replaces it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.c b/config.c
index edf9914..c736802 100644
--- a/config.c
+++ b/config.c
@@ -797,6 +797,10 @@ int git_default_config(const char *var, const char *value, void *dummy)
return 0;
}
+ if (!strcmp(var, "pack.packsizelimit")) {
+ pack_size_limit_cfg = git_config_ulong(var, value);
+ return 0;
+ }
/* Add other config variables here and to Documentation/config.txt. */
return 0;
}