]> git.ipfire.org Git - thirdparty/git.git/commit
compat: make sure git_mmap is not expected to write
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Tue, 23 Oct 2018 12:35:19 +0000 (05:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Oct 2018 09:51:03 +0000 (18:51 +0900)
commitbf1e6da79157ff765fc92b45ac96442b9f56ff8b
tree905bf81a5114df782d6f4a48457dc4741ba1a669
parent40f327faf543ccaeb03aa0362f3fed7438c2c615
compat: make sure git_mmap is not expected to write

in f48000fc ("Yank writing-back support from gitfakemmap.", 2005-10-08)
support for writting back changes was removed but the specific prot
flag that would be used was not checked for

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mmap.c