diff --no-index: use strbuf for temporary pathnames
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Apr 2012 19:37:38 +0000 (12:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2012 16:13:29 +0000 (09:13 -0700)
commit875b91b35d2517773495e8404f31fde8c5cbd27d
tree815e4bf00382fe3ecc7e2bbd29bdb13ee18d2b65
parent48e510b6a29b1066016cbbee75c0b196174a88d4
diff --no-index: use strbuf for temporary pathnames

Instead of using limited-length buffers and risking of pathname
truncation, we should be taking advantage of strbuf API nowadays.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-no-index.c