author | Alex Riesen <raa.lkml@gmail.com> | |
Wed, 14 Mar 2007 00:17:04 +0000 (01:17 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 14 Mar 2007 23:21:19 +0000 (16:21 -0700) | ||
commit | 41bbf9d58575095234c64df979ee884334469758 | |
tree | 916fb0b719369166e3cea928ec4831482ad4e9fa | tree | snapshot |
parent | 803527f1d9b284fa848d4a4bad23158c162a5d54 | commit | diff |
Allow git-diff exit with codes similar to diff(1)
This introduces a new command-line option: --exit-code. The diff
programs will return 1 for differences, return 0 for equality, and
something else for errors.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This introduces a new command-line option: --exit-code. The diff
programs will return 1 for differences, return 0 for equality, and
something else for errors.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/diff-options.txt | diff | blob | history | |
builtin-diff-files.c | diff | blob | history | |
builtin-diff-index.c | diff | blob | history | |
builtin-diff-tree.c | diff | blob | history | |
builtin-diff.c | diff | blob | history | |
diff-lib.c | diff | blob | history | |
diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
t/t4017-diff-retval.sh | [new file with mode: 0755] | blob |