diff options
author | David Aguilar <davvid@gmail.com> | 2012-07-26 12:36:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-26 13:06:00 -0700 |
commit | ceb1497a74e75a0c9bd53716b787d33ad6e2397f (patch) | |
tree | 479ceb0187a33c95ba67257803d09a47d0054f62 /strbuf.c | |
parent | difftool: Wrap long lines for readability (diff) | |
download | tgif-ceb1497a74e75a0c9bd53716b787d33ad6e2397f.tar.xz |
difftool: Handle compare() returning -1
Keep the temporary directory around when compare()
cannot read its input files, which is indicated by -1.
Defer tempdir creation to allow an early exit in setup_dir_diff().
Wrap the rest of the entry points in an exit_cleanup() function
to handle removing temporary files and error reporting.
Print the temporary files' location so that the user can
recover them.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions