Merge branch 'js/win32-mmap'
commitf9dd74134ad98c80f36d2cf57cd368f5efc8df08
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Apr 2016 19:59:08 +0000 (29 12:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Apr 2016 19:59:09 +0000 (29 12:59 -0700)
tree3defdc673aac343645aecfc042419c76d9b47877
parent175008d45474ff78ca9e3dcf038df359a97b4d92
parentd5425d10ca68a297061f87f4460dd7e0b32b39a6
Merge branch 'js/win32-mmap'

mmap emulation on Windows has been optimized and work better without
consuming paging store when not needed.

* js/win32-mmap:
  mmap(win32): avoid expensive fstat() call
  mmap(win32): avoid copy-on-write when it is unnecessary
  win32mmap: set errno appropriately