summaryrefslogtreecommitdiff
path: root/quote.c
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2008-10-15 19:58:49 -0500
committerJunio C Hamano <gitster@pobox.com>2008-10-16 08:31:56 -0700
commit16b26725368f7b80711d9a631029fbb869646f9c (patch)
tree60ff5c863fcf62a24cb5093e0c3fec4a955753bc /quote.c
parent6c2a6022dbc5879f5d6c267925408e484be6214a (diff)
downloadgit-16b26725368f7b80711d9a631029fbb869646f9c.tar.gz
t4018-diff-funcname: rework negated last expression test
This test used the non-zero exit status of 'git diff' to indicate that a negated funcname pattern, when placed last, was correctly rejected. The problem with this is that 'git diff' always returns non-zero if it finds differences in the files it is comparing, and the files must contain differences in order to trigger the funcname pattern codepath. Instead of checking for non-zero exit status, make sure the expected error message is printed. Signed-off-by: Brandon Casey <drafnel@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.c')
0 files changed, 0 insertions, 0 deletions