aboutsummaryrefslogtreecommitdiff
path: root/repository.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-01-21 21:14:54 -0800
committerJunio C Hamano <gitster@pobox.com>2018-01-21 21:14:54 -0800
commit59c276cf4da0705064c32c9dba54baefa282ea55 (patch)
treee3ec15ed6268a645fac86b7fbe7008bb8c9cac37 /repository.c
parent298d861208d71089dd308761ae96738e81ad3e68 (diff)
parent8279ed033f703d4115bee620dccd32a9ec94d9aa (diff)
downloadgit-master.tar.gz
git-master.tar.xz
Sync with v2.16.1HEADmaster
* maint: Git 2.16.1 t5601-clone: test case-conflicting files on case-insensitive filesystem repository: pre-initialize hash algo pointer
Diffstat (limited to 'repository.c')
-rw-r--r--repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.c b/repository.c
index 998413b8b..f66fcb134 100644
--- a/repository.c
+++ b/repository.c
@@ -5,7 +5,7 @@
/* The main repository */
static struct repository the_repo = {
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &the_index, NULL, 0, 0
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &the_index, &hash_algos[GIT_HASH_SHA1], 0, 0
};
struct repository *the_repository = &the_repo;