git-difftool: add better cleanup handling
commitaff386856670fe6628dcf67949669cbe4e70d971
authorDavid Aguilar <davvid@gmail.com>
Fri, 10 Oct 2008 06:23:33 +0000 (9 23:23 -0700)
committerDavid Aguilar <davvid@gmail.com>
Fri, 10 Oct 2008 06:29:59 +0000 (9 23:29 -0700)
tree44d981ebb9c5b63eecab37602a3d0c93b6891811
parentc75a69581a3f7839a1b00fec54852d77fcbc7e6f
git-difftool: add better cleanup handling

git-difftool now uses a SIGINT handler to clean up after someone control-c's
out of git-difftool.

The cleanup routines were also improved so that no transient files are ever
left behind.

Signed-off-by: David Aguilar <davvid@gmail.com>
bin/git-difftool
ui/main.ui