diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-09-23 23:44:46 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-23 23:44:46 +0300 |
commit | e3b77a2d03258bc640076a2319cd3c289e87a389 (patch) | |
tree | b0b4b8c38f0876435383cfaa397e4622b56e1e3c /config.c | |
parent | 28caad63d0f58611a22bf5b11e4914496ecb25b1 (diff) | |
parent | 8f0f11015683c0db1a06148300624fdb767b1d27 (diff) |
Merge branch 'rs/drop-core-compression-vars'
Code clean-up.
* rs/drop-core-compression-vars:
compression: drop write-only core_compression_* variables
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -76,7 +76,6 @@ static struct key_value_info *current_config_kvi; */ static enum config_scope current_parsing_scope; -static int core_compression_seen; static int pack_compression_seen; static int zlib_compression_seen; @@ -1400,8 +1399,6 @@ static int git_default_core_config(const char *var, const char *value, void *cb) level = Z_DEFAULT_COMPRESSION; else if (level < 0 || level > Z_BEST_COMPRESSION) die(_("bad zlib compression level %d"), level); - core_compression_level = level; - core_compression_seen = 1; if (!zlib_compression_seen) zlib_compression_level = level; if (!pack_compression_seen) |