From: Junio C Hamano Date: Thu, 26 Apr 2012 17:56:19 +0000 (-0700) Subject: Merge branch 'jm/maint-strncpy-diff-no-index' X-Git-Tag: v1.7.11-rc0~101 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=653787aea5cddc9d79dcd1431d1fc76b1e7a6b51;p=git.git Merge branch 'jm/maint-strncpy-diff-no-index' The "diff --no-index" codepath used limited-length buffers, risking pathnames getting truncated. Update it to use the strbuf API. 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 --- 653787aea5cddc9d79dcd1431d1fc76b1e7a6b51