author | Junio C Hamano <gitster@pobox.com> | |
Thu, 26 Jun 2008 20:16:33 +0000 (13:16 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 26 Jun 2008 20:26:25 +0000 (13:26 -0700) | ||
commit | 18374e584ca7a820457c1d83ee99867c216e7b75 | |
tree | 4745a5ec231cc46b28fd4531e9b71a5476606fed | tree | snapshot |
parent | e636106c76e0273334940d899de1c928d08b29e8 | commit | diff |
diff --check: do not discard error status upon seeing a good line
"git diff --check" should return non-zero when there was any whitespace
error but the code only paid attention to the error status of the last
new line in the patch.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"git diff --check" should return non-zero when there was any whitespace
error but the code only paid attention to the error status of the last
new line in the patch.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | diff | blob | history | |
t/t4017-diff-retval.sh | diff | blob | history |