Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fix typo in Documentation
author
Guanqun Lu
<guanqun.lu@gmail.com>
Wed, 4 Feb 2009 21:00:40 +0000
(
05:00
+0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Feb 2009 06:09:03 +0000
(22:09 -0800)
Signed-off-by: Guanqun Lu <guanqun.lu@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-strbuf.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
e1e4389
)
diff --git
a/Documentation/technical/api-strbuf.txt
b/Documentation/technical/api-strbuf.txt
index a9668e5f2d2b1a7ffac45e4111ca6d8a4818af2b..4242dc01426b46d62bfb7da9f51100c23df2a972 100644
(file)
--- a/
Documentation/technical/api-strbuf.txt
+++ b/
Documentation/technical/api-strbuf.txt
@@
-21,7
+21,7
@@
allocated memory or not), use `strbuf_detach()` to unwrap a memory
buffer from its strbuf shell in a safe way. That is the sole supported
way. This will give you a malloced buffer that you can later `free()`.
+
-However, it i
t
totally safe to modify anything in the string pointed by
+However, it i
s
totally safe to modify anything in the string pointed by
the `buf` member, between the indices `0` and `len-1` (inclusive).
. The `buf` member is a byte array that has at least `len + 1` bytes