diff options
author | Junio C Hamano <junkio@cox.net> | 2005-04-28 10:13:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-28 10:13:01 -0700 |
commit | 532149d72735b4c5035f73abd06f3995c6303acf (patch) | |
tree | ef9b496c135a89bde7214517a8b5a02b3e796662 /diff-cache.c | |
parent | 91a6eaa05da5627b1238b7168be1d8ae69516383 (diff) | |
download | git-532149d72735b4c5035f73abd06f3995c6303acf.tar.gz git-532149d72735b4c5035f73abd06f3995c6303acf.tar.xz |
[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 'diff-cache.c')
0 files changed, 0 insertions, 0 deletions