Revision fce8b5d82fadd0bc27b12ae91bf7ad74d6488e97 authored by Junio C Hamano on 12 March 2012, 22:46:32 UTC, committed by Junio C Hamano on 12 March 2012, 22:46:32 UTC
"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
2 parent s f629c23 + b3f01ff
History
File Mode Size
sha1.c -rw-r--r-- 1.4 KB
sha1.h -rw-r--r-- 559 bytes
sha1ppc.S -rw-r--r-- 7.3 KB

back to top