summaryrefslogtreecommitdiff
path: root/contrib/stats
diff options
context:
space:
mode:
authorLibravatar Larry D'Anna <larry@elder-gods.org>2010-02-16 01:55:21 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-15 23:04:34 -0800
commit6977c250ac6cacb5ee441bff832fdeab4d0cd8f9 (patch)
tree65395c21da0f7326b50da68e05a6d2db78cd182b /contrib/stats
parentMerge branch 'maint-1.6.6' into maint (diff)
downloadtgif-6977c250ac6cacb5ee441bff832fdeab4d0cd8f9.tar.xz
git diff --quiet -w: check and report the status
The option -w tells the diff machinery to inspect the contents to set the exit status, instead of checking the blob object level difference alone. However, --quiet tells the diff machinery not to look at the contents, which means DIFF_FROM_CONTENTS has no chance to inspect the change. Work it around by calling diff_flush_patch() with output sent to /dev/null. Signed-off-by: Larry D'Anna <larry@elder-gods.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/stats')
0 files changed, 0 insertions, 0 deletions