summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-09-23 16:30:48 -0400
committerEdward Thomson <ethomson@github.com>2016-05-26 13:01:06 -0500
commitd3d95d5ae2c0c06724d040713a04202073114041 (patch)
tree230acabe28ae3b49cc291d1ae90de5ce658bbced /src/buffer.h
parent72806f4cca7602460d19fbee8be98449304e92a2 (diff)
downloadlibgit2-d3d95d5ae2c0c06724d040713a04202073114041.tar.gz
git_buf_quote: quote ugly characters
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 2be299b14..cdfca6d99 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -173,9 +173,10 @@ void git_buf_rtrim(git_buf *buf);
int git_buf_cmp(const git_buf *a, const git_buf *b);
-/* Unquote a buffer as specified in
+/* Quote and unquote a buffer as specified in
* http://marc.info/?l=git&m=112927316408690&w=2
*/
+int git_buf_quote(git_buf *buf);
int git_buf_unquote(git_buf *buf);
/* Write data as base64 encoded in buffer */