Add documentation of the strbuf_set operations to

Signed-off-by: Jeremiah Mahler <>
 Documentation/technical/api-strbuf.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/technical/api-strbuf.txt 
index 077a709..ab430d9 100644
--- a/Documentation/technical/api-strbuf.txt
+++ b/Documentation/technical/api-strbuf.txt
@@ -149,6 +149,24 @@ Functions
        than zero if the first buffer is found, respectively, to be less than,
        to match, or be greater than the second buffer.
+* Setting the buffer
+    Set the buffer to some data up to a given length.
+       Set the buffer to a NUL-terminated string.
+       Set the buffer to a formatted string.
+       Set the current buffer to the contents of some other buffer.
 * Adding data to the buffer
 NOTE: All of the functions in this section will grow the buffer as necessary.

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to