summaryrefslogtreecommitdiff
path: root/src/crlf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crlf.c')
-rw-r--r--src/crlf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crlf.c b/src/crlf.c
index f0ec7b736..536b50f1e 100644
--- a/src/crlf.c
+++ b/src/crlf.c
@@ -128,8 +128,7 @@ static int drop_crlf(git_buf *dest, const git_buf *source)
/* Copy remaining input into dest */
git_buf_put(dest, scan, scan_end - scan);
-
- return git_buf_lasterror(dest);
+ return 0;
}
static int crlf_apply_to_odb(git_filter *self, git_buf *dest, const git_buf *source)