]> git.ipfire.org Git - thirdparty/git.git/commit - compat/mingw.c
mingw: prepare the TMPDIR environment variable for shell scripts
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 26 Jan 2016 14:34:43 +0000 (15:34 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jan 2016 21:42:59 +0000 (13:42 -0800)
commit1fc7bf79e5f907b85aa0213c0ad4969506cf8f2b
treecf996e6ac4771e6362b5ccbabe567966bd0af284
parent02e6edc082969c3f52ea954e71b391410632dfba
mingw: prepare the TMPDIR environment variable for shell scripts

When shell scripts access a $TMPDIR variable containing backslashes,
they will be mistaken for escape characters. Let's not let that happen
by converting them to forward slashes.

This partially fixes t7800 with MSYS2.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c