summaryrefslogtreecommitdiff
path: root/builtin-push.c
diff options
context:
space:
mode:
authorLibravatar Wincent Colaiuta <win@wincent.com>2007-12-13 21:24:52 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-12-13 23:05:42 -0800
commit62c64895cfcf3bbf34969a69fa96a631f7d5b14e (patch)
treeba4176915a9320356f245f401913d2bfa9992b43 /builtin-push.c
parentxdi_diff: trim common trailing lines (diff)
downloadtgif-62c64895cfcf3bbf34969a69fa96a631f7d5b14e.tar.xz
"diff --check" should affect exit status
"git diff" has a --check option that can be used to check for whitespace problems but it only reported by printing warnings to the console. Now when the --check option is used we give a non-zero exit status, making "git diff --check" nicer to use in scripts and hooks. Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-push.c')
0 files changed, 0 insertions, 0 deletions