diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-06-08 13:51:28 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-06-22 12:00:23 -0400 |
commit | 8293c8f9a3ea18131af98b71fa9100dcba0ad438 (patch) | |
tree | 0c3d808ceed1e665af0dee8be148466c7f2b05ea /src/buf_text.h | |
parent | 47e9a6cb0573aa2190ddabadb94c0a89ae14ba52 (diff) | |
download | libgit2-8293c8f9a3ea18131af98b71fa9100dcba0ad438.tar.gz |
git_buf_text_lf_to_crlf: allow mixed line endings
Allow files to have mixed line endings instead of skipping processing
on them.
Diffstat (limited to 'src/buf_text.h')
-rw-r--r-- | src/buf_text.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buf_text.h b/src/buf_text.h index e753a0244..c9c55af89 100644 --- a/src/buf_text.h +++ b/src/buf_text.h @@ -58,8 +58,7 @@ extern void git_buf_text_unescape(git_buf *buf); /** * Replace all \r\n with \n. * - * @return 0 on success, -1 on memory error, GIT_PASSTHROUGH if the - * source buffer has mixed line endings. + * @return 0 on success, -1 on memory error */ extern int git_buf_text_crlf_to_lf(git_buf *tgt, const git_buf *src); |