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
This commit is contained in:
Junio C Hamano
2020-05-01 13:39:55 -07:00
2 changed files with 1 additions and 5 deletions

2
midx.h
View File

@ -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;