summaryrefslogtreecommitdiff
path: root/compat/cygwin.c
diff options
context:
space:
mode:
authorLibravatar Paul Mackerras <paulus@samba.org>2009-09-07 10:08:21 +1000
committerLibravatar Paul Mackerras <paulus@samba.org>2009-09-10 21:46:28 +1000
commitc21398be6d7b112fa3a041b4b7d869d9954bf753 (patch)
tree50566a9ec58e39b9562a4946cc8a8d9ce66aa95f /compat/cygwin.c
parentgitk: Update Swedish translation (280t0f0u) (diff)
downloadtgif-c21398be6d7b112fa3a041b4b7d869d9954bf753.tar.xz
gitk: Show diff of commits at end of compare-commits output
When comparing a string of commits, when we find two non-merge commits that differ, we now write the two commits to files and diff the files. This pulls out the logic for creating a temporary directory from external_diff into a separate procedure so that the new diffcommits procedure can use it. Because the diff command returns an exit status of 1 when the files differ, and Tcl treats that as an error, this adds catch {} around the close statements in getblobdiffline. At present this only removes the temporary files when gitk exits. It should remove them when the diff is done. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'compat/cygwin.c')
0 files changed, 0 insertions, 0 deletions