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)
commita16ae14e48ab228e7b80ab45f225234361515d84
tree46292c32d7b8a0728b7a84ab19891aa868bfaf8e
parentbf505158d0292eed441fff1bc9157da19645ee91
parent875b91b35d2517773495e8404f31fde8c5cbd27d
Merge branch 'jm/maint-strncpy-diff-no-index' into maint

"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