From: David Aguilar Date: Sun, 31 May 2009 08:35:52 +0000 (-0700) Subject: diff: generate pretty filenames in prep_temp_blob() X-Git-Tag: v1.6.4-rc0~87^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/003b33a8ad686ee4a0d0b36635bfd6aba940b24a?hp=003b33a8ad686ee4a0d0b36635bfd6aba940b24a diff: generate pretty filenames in prep_temp_blob() Naturally, prep_temp_blob() did not care about filenames. As a result, GIT_EXTERNAL_DIFF and textconv generated filenames such as ".diff_XXXXXX". This modifies prep_temp_blob() to generate user-friendly filenames when creating temporary files. Diffing "name.ext" now generates "XXXXXX_name.ext". Signed-off-by: David Aguilar Signed-off-by: Junio C Hamano ---