From: Junio C Hamano Date: Mon, 12 Mar 2012 22:46:32 +0000 (-0700) Subject: Merge branch 'jc/maint-diff-patch-header' into maint X-Git-Tag: v1.7.9.4~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fce8b5d82fadd0bc27b12ae91bf7ad74d6488e97;p=git.git Merge branch 'jc/maint-diff-patch-header' into maint "git diff-index" and its friends at the plumbing level showed the "diff --git" header and nothing else for a path whose cached stat info is dirty without actual difference when asked to produce a patch. This was a longstanding bug that we could have fixed long time ago. By Junio C Hamano * jc/maint-diff-patch-header: diff -p: squelch "diff --git" header for stat-dirty paths t4011: illustrate "diff-index -p" on stat-dirty paths t4011: modernise style --- fce8b5d82fadd0bc27b12ae91bf7ad74d6488e97