From: Junio C Hamano Date: Thu, 11 Jun 2015 16:29:55 +0000 (-0700) Subject: Merge branch 'jk/diagnose-config-mmap-failure' X-Git-Tag: v2.5.0-rc0~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dee47925c1d001947cf9a099e1cb883835f90c64;p=thirdparty%2Fgit.git Merge branch 'jk/diagnose-config-mmap-failure' The configuration reader/writer uses mmap(2) interface to access the files; when we find a directory, it barfed with "Out of memory?". * jk/diagnose-config-mmap-failure: xmmap(): drop "Out of memory?" config.c: rewrite ENODEV into EISDIR when mmap fails config.c: avoid xmmap error messages config.c: fix mmap leak when writing config read-cache.c: drop PROT_WRITE from mmap of index --- dee47925c1d001947cf9a099e1cb883835f90c64