diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-04-27 20:36:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-04-27 20:36:41 +0200 |
commit | 9cedd16c62e12521f35b44e10bba80bfe261e69c (patch) | |
tree | 5bc12da870a1dc90ce3cbfc715144dc4ce6e9c84 /config.c | |
parent | Merge branch 'mh/git-svn-automkdirs' (diff) | |
parent | Teach core.bigfilethreashold to pack-objects (diff) | |
download | git-9cedd16c62e12521f35b44e10bba80bfe261e69c.tar.xz git-9cedd16c62e12521f35b44e10bba80bfe261e69c.zip |
Merge branch 'jc/pack-objects-bigfile'
* jc/pack-objects-bigfile:
Teach core.bigfilethreashold to pack-objects
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -567,6 +567,12 @@ static int git_default_core_config(const char *var, const char *value) return 0; } + if (!strcmp(var, "core.bigfilethreshold")) { + long n = git_config_int(var, value); + big_file_threshold = 0 < n ? n : 0; + return 0; + } + if (!strcmp(var, "core.packedgitlimit")) { packed_git_limit = git_config_int(var, value); return 0; |