]> git.ipfire.org Git - thirdparty/git.git/commit - packfile.c
Use xmmap_gently instead of xmmap in use_pack
authorMike Hommey <mh@glandium.org>
Thu, 16 May 2019 00:37:36 +0000 (09:37 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 May 2019 09:02:30 +0000 (18:02 +0900)
commit3203566a7109e2b83519b379581005cee178c3fd
tree9034bfc433d47a4d42e19edd5f79b60f9eda7466
parent8b3554279cb2608118b2881744135fb6f3069c32
Use xmmap_gently instead of xmmap in use_pack

use_pack has its own error message on mmap error, but it can't be
reached when using xmmap, which dies with its own error.

Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
packfile.c