summaryrefslogtreecommitdiff
path: root/t/t4026-color.sh
diff options
context:
space:
mode:
authorLibravatar David Aguilar <davvid@gmail.com>2014-06-18 19:53:14 -0700
committerLibravatar Paul Mackerras <paulus@samba.org>2014-06-27 16:30:39 +1000
commitac54a4b7715543a29cf72a49a3dd8add32796e86 (patch)
tree52c63fa4ad3bb4b74a63482afd1efc26b52da4df /t/t4026-color.sh
parentgitk: Use mktemp -d to avoid predictable temporary directories (diff)
downloadtgif-ac54a4b7715543a29cf72a49a3dd8add32796e86.tar.xz
gitk: Catch mkdtemp errors
105b5d3f ("gitk: Use mktemp -d to avoid predictable temporary directories") introduced a dependency on mkdtemp, which is not available on Windows. Use the original temporary directory behavior when mkdtemp fails. This makes the code use mkdtemp when available and gracefully fallback to the existing behavior when it is not available. Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t4026-color.sh')
0 files changed, 0 insertions, 0 deletions