summaryrefslogtreecommitdiffstats
path: root/reflog-walk.c
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2009-05-31 10:35:52 +0200
committerJunio C Hamano <gitster@pobox.com>2009-06-01 02:57:59 +0200
commit003b33a8ad686ee4a0d0b36635bfd6aba940b24a (patch)
treea4fb990bc62930d859f8343c41f5a3162aca6449 /reflog-walk.c
parentcompat: add a basename() compatibility function (diff)
downloadgit-003b33a8ad686ee4a0d0b36635bfd6aba940b24a.tar.xz
git-003b33a8ad686ee4a0d0b36635bfd6aba940b24a.zip
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 <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions