diff options
author | Junio C Hamano <junkio@cox.net> | 2005-04-28 17:13:01 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-28 17:13:01 (GMT) |
commit | 532149d72735b4c5035f73abd06f3995c6303acf (patch) | |
tree | ef9b496c135a89bde7214517a8b5a02b3e796662 /tar-tree.c | |
parent | 91a6eaa05da5627b1238b7168be1d8ae69516383 (diff) | |
download | git-532149d72735b4c5035f73abd06f3995c6303acf.zip git-532149d72735b4c5035f73abd06f3995c6303acf.tar.gz git-532149d72735b4c5035f73abd06f3995c6303acf.tar.bz2 |
[PATCH] diff.c: clean temporary files
When diff-cache -p and friends are interrupted, they can leave
their temporary files behind. Also when the external diff
program is killed instead of exiting (this usually happens when
piping the output to a pager, which can cause SIGPIPE when the
user quits viewing the diff early), they incorrectly died
without cleaning their temporary file.
This fixes these problems.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'tar-tree.c')
0 files changed, 0 insertions, 0 deletions