diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-02-14 00:39:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-14 00:39:13 +0300 |
commit | e75c862125f219c983cd2980d1b33ec09a3c34b9 (patch) | |
tree | 716c9f3eec268b391e30360abf39ee7700dd40a4 /repository.c | |
parent | 73df1b34218b1bce579a3ed90166db9df43d9e67 (diff) | |
parent | ae59a4e44f359f74d0fede109c29bb53f726209b (diff) |
Merge branch 'tg/split-index-fixes'
The split-index mode had a few corner case bugs fixed.
* tg/split-index-fixes:
travis: run tests with GIT_TEST_SPLIT_INDEX
split-index: don't write cache tree with null oid entries
read-cache: fix reading the shared index for other repos
Diffstat (limited to 'repository.c')
-rw-r--r-- | repository.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.c b/repository.c index f66fcb1342..4ffbe9bc94 100644 --- a/repository.c +++ b/repository.c @@ -236,5 +236,5 @@ int repo_read_index(struct repository *repo) if (!repo->index) repo->index = xcalloc(1, sizeof(*repo->index)); - return read_index_from(repo->index, repo->index_file); + return read_index_from(repo->index, repo->index_file, repo->gitdir); } |