vendor/libgit2/src/crlf.c in rugged-0.24.0b13 vs vendor/libgit2/src/crlf.c in rugged-0.24.0b14
- old
+ new
@@ -344,10 +344,10 @@
const git_filter_source *src)
{
/* initialize payload in case `check` was bypassed */
if (!*payload) {
int error = crlf_check(self, payload, src, NULL);
- if (error < 0 && error != GIT_PASSTHROUGH)
+ if (error < 0)
return error;
}
if (git_filter_source_mode(src) == GIT_FILTER_SMUDGE)
return crlf_apply_to_workdir(*payload, to, from);