diff options
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | 2011-04-04 22:14:16 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2011-07-24 15:34:54 +1000 |
commit | 929f577e0a648dd1c90b92d8a3f6f1899f2fa0e2 (patch) | |
tree | 2c65d24a2fa573b6883ab84c4ea79bfa25bde875 /t/t9602 | |
parent | gitk: Fix "External diff" with separate work tree (diff) | |
download | tgif-929f577e0a648dd1c90b92d8a3f6f1899f2fa0e2.tar.xz |
gitk: Put temporary directory inside .git
When running "External diff" from gitk, the "from" and "to" files will
first be copied into a directory that is currently
".git/../.gitk-tmp.$pid". When gitk is closed, the directory is
deleted. When the work tree is not at ".git/.." (which is supported
since the previous commit), that directory may not even be git-related
and it does not seem unlikely that permissions may not allow the
temporary directory to be created there. Move the directory inside
.git instead.
This introduces a regression in the case that the .git directory
is readonly, but .git/.. is writeable.
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t9602')
0 files changed, 0 insertions, 0 deletions