summaryrefslogtreecommitdiff
path: root/git-gui/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <stolee@gmail.com>2020-04-24 09:17:16 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-24 13:09:49 -0700
commit6c7ff7cf7f431e4accf360c018149d1e263eaf06 (patch)
tree5c244a9b0d966aeeecdf6558afb5395e13a0c5ec /git-gui/GIT-VERSION-GEN
parentpack-objects: consider packs in multi-pack-index (diff)
downloadtgif-6c7ff7cf7f431e4accf360c018149d1e263eaf06.tar.xz
multi-pack-index: close file descriptor after mmap
The multi-pack-index subsystem was not closing its file descriptor after memory-mapping the file contents. After this mmap() succeeds, there is no need to keep the file descriptor open. In fact, there is signficant reason to close it so we do not run out of descriptors. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions