Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2014-07-31 23:14:56 +0400
committerEdward Thomson <ethomson@edwardthomson.com>2014-08-15 19:12:42 +0400
commite003f83a5840d6e9966f1830768771bcd205ba52 (patch)
tree0411bd285a838e252c8d2e7ace56778b2a2624a5 /src/diff_print.c
parent40867266bf964ed6acb2344e594e0c49106c3c67 (diff)
Introduce git_buf_decode_base64
Decode base64-encoded text into a git_buf
Diffstat (limited to 'src/diff_print.c')
-rw-r--r--src/diff_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_print.c b/src/diff_print.c
index fb62a5fc1..43a90b3d8 100644
--- a/src/diff_print.c
+++ b/src/diff_print.c
@@ -352,7 +352,7 @@ static int print_binary_hunk(diff_print_info *pi, git_blob *old, git_blob *new)
else
git_buf_putc(pi->buf, (char)chunk_len - 26 + 'a' - 1);
- git_buf_put_base85(pi->buf, scan, chunk_len);
+ git_buf_encode_base85(pi->buf, scan, chunk_len);
git_buf_putc(pi->buf, '\n');
if (git_buf_oom(pi->buf)) {