Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Start preparing the API documents.
[gitweb.git]
/
builtin-diff-files.c
diff --git
a/builtin-diff-files.c
b/builtin-diff-files.c
index 6cb30c8e12488f42521df71a844a86a2e9a968c7..9c0411165691bb1c3a581e9927e124e55fbd7bfd 100644
(file)
--- a/
builtin-diff-files.c
+++ b/
builtin-diff-files.c
@@
-31,5
+31,5
@@
int cmd_diff_files(int argc, const char **argv, const char *prefix)
if (!rev.diffopt.output_format)
rev.diffopt.output_format = DIFF_FORMAT_RAW;
result = run_diff_files_cmd(&rev, argc, argv);
- return
rev.diffopt.exit_with_status ? rev.diffopt.has_changes: result
;
+ return
diff_result_code(&rev.diffopt, result)
;
}