Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/midx.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-05-01 23:39:55 +0300
committerJunio C Hamano <gitster@pobox.com>2020-05-01 23:39:55 +0300
commit29d74275c44c1636acabdb5a3822c3872ebf43de (patch)
tree357838ee387521af342297f7f17459449b1a6c27 /midx.h
parent6d56d4c7dcd667d28aec28498591723c6febea1c (diff)
parent6c7ff7cf7f431e4accf360c018149d1e263eaf06 (diff)
Merge branch 'ds/multi-pack-index'
The multi-pack-index left mmapped file descriptors open when it does not have to. * ds/multi-pack-index: multi-pack-index: close file descriptor after mmap
Diffstat (limited to 'midx.h')
-rw-r--r--midx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/midx.h b/midx.h
index e6fa356b5c..b18cf53bc4 100644
--- a/midx.h
+++ b/midx.h
@@ -12,8 +12,6 @@ struct repository;
struct multi_pack_index {
struct multi_pack_index *next;
- int fd;
-
const unsigned char *data;
size_t data_len;