summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-10 18:14:28 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-10 18:14:28 -0700
commit380a7426794dcad369dd48519cd01d6e0246cde5 (patch)
treea6671d54dfa9c41094f541ef5377ae53d04e842c /config.c
parent1f8115b113def8ee03701aa87b26c5e8b7c94434 (diff)
parent1102952b45dde09d73445aa2284bcb592362fa23 (diff)
downloadgit-380a7426794dcad369dd48519cd01d6e0246cde5.tar.gz
Merge branch 'lt/case-insensitive'
* lt/case-insensitive: Make git-add behave more sensibly in a case-insensitive environment When adding files to the index, add support for case-independent matches Make unpack-tree update removed files before any updated files Make branch merging aware of underlying case-insensitive filsystems Add 'core.ignorecase' option Make hash_name_lookup able to do case-independent lookups Make "index_name_exists()" return the cache_entry it found Move name hashing functions into a file of its own Make unpack_trees_options bit flags actual bitfields
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.c b/config.c
index b0ada515b9..8fcb5db94f 100644
--- a/config.c
+++ b/config.c
@@ -350,6 +350,11 @@ int git_default_config(const char *var, const char *value)
return 0;
}
+ if (!strcmp(var, "core.ignorecase")) {
+ ignore_case = git_config_bool(var, value);
+ return 0;
+ }
+
if (!strcmp(var, "core.bare")) {
is_bare_repository_cfg = git_config_bool(var, value);
return 0;