]> git.ipfire.org Git - thirdparty/git.git/commit - diff.c
Fix 'diff' attribute semantics.
authorJunio C Hamano <junkio@cox.net>
Sun, 15 Apr 2007 21:35:11 +0000 (14:35 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 15 Apr 2007 21:35:11 +0000 (14:35 -0700)
commit40250af411f33afa0c39a5d461829b676453ce3b
tree0530d85b4a658ecd9c512ce44cea1ceabcd35d98
parent201ac8efc79668353281583629aa15ac7f36e843
Fix 'diff' attribute semantics.

This is in the same spirit as the previous one.  Earlier 'diff'
meant 'do the built-in binary heuristics and disable patch text
generation based on it' while '!diff' meant 'do not guess, do
not generate patch text'.  There was no way to say 'do generate
patch text even when the heuristics says it has NUL in it'.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c