summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
authorLibravatar Karsten Blees <karsten.blees@gmail.com>2015-06-30 16:34:13 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-30 11:01:59 -0700
commit7a64592cf8cc559d6043500b8e77d1fed07c5ec2 (patch)
treedb81b38ed7048d6df69aed9948284e7c86b9f294 /wrapper.c
parentMerge branch 'jk/stash-require-clean-index' into maint (diff)
downloadtgif-7a64592cf8cc559d6043500b8e77d1fed07c5ec2.tar.xz
config.c: fix writing config files on Windows network shares
Renaming to an existing file doesn't work on Windows network shares if the target file is open. munmap() the old config file before commit_lock_file. Signed-off-by: Karsten Blees <blees@dcon.de> Acked-by: Jeff King <peff@peff.net> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrapper.c')
0 files changed, 0 insertions, 0 deletions