Re: [PATCH v1 1/1] git diff --quiet exits with 1 on clean tree with CRLF conversions From: Torsten Bögershausen <hidden> Date: 2017-03-03 17:35:48 Understood, thanks for the explanation. quiet is not quite any more.. Does the following fix help ? --- a/diff.c +++ b/diff.c@@ -2826,6 +2826,8 @@ int diff_populate_filespec(struct diff_filespec *s,unsigned int flags) enum safe_crlf crlf_warn = (safe_crlf == SAFE_CRLF_FAIL ? SAFE_CRLF_WARN : safe_crlf); + if (size_only) + crlf_warn = SAFE_CRLF_FALSE;
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help