Merge branch 'jm/maint-strncpy-diff-no-index' into maint
authorJunio C Hamano <gitster@pobox.com>
Thu, 3 May 2012 22:23:17 +0000 (15:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 May 2012 22:23:17 +0000 (15:23 -0700)
"diff --no-index" codepath had a few places that used fixed-size
buffer and truncated paths that are too long.

By Jim Meyering (1) and Junio C Hamano (1)
* jm/maint-strncpy-diff-no-index:
diff --no-index: use strbuf for temporary pathnames
diff: avoid stack-buffer-read-overrun for very long name

Trivial merge