You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
428 B

diff -u -r ../git-2.8.1/tempfile.c ./tempfile.c
--- ../git-2.8.1/tempfile.c 2016-04-03 15:07:18.000000000 -0400
+++ ./tempfile.c 2016-04-28 07:22:47.339509915 -0400
@@ -170,7 +170,7 @@
tmpdir = getenv("TMPDIR");
if (!tmpdir)
- tmpdir = "/tmp";
+ tmpdir = "@TERMUX_PREFIX@/tmp";
strbuf_addf(&tempfile->filename, "%s/%s", tmpdir, template);
tempfile->fd = git_mkstemps_mode(tempfile->filename.buf, suffixlen, mode);