diff: use tempfile module
commit284098f13fd1c378883ed844fc2966e0b78bbbe7
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 12 Aug 2015 17:12:01 +0000 (12 19:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Aug 2015 21:49:43 +0000 (12 14:49 -0700)
tree617d72f01a3331c5443771afb83ed98ffd3a0613
parent6e122b449b41d83ccfa459819688f7092aa1da19
diff: use tempfile module

Also add some code comments explaining how the fields in "struct
diff_tempfile" are used.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c