diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-03 23:50:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-03 23:50:09 -0800 |
commit | f0817310903312bbc243dd80f066e17a8e0e4b1d (patch) | |
tree | fd619c9bf1e11ee6ea1ad5d6a000f96146f916b6 /Documentation/technical | |
parent | 281907574ca420cc9a800190509adbf89bf9a2d1 (diff) | |
parent | 7a85f6ae88be5937c32a7b61601a40a02c03fb3f (diff) | |
download | git-f0817310903312bbc243dd80f066e17a8e0e4b1d.tar.gz git-f0817310903312bbc243dd80f066e17a8e0e4b1d.tar.xz |
Merge branch 'maint-1.6.0' into maint
* maint-1.6.0:
User-manual: "git stash <comment>" form is long gone
add test-dump-cache-tree in Makefile
fix typo in Documentation
apply: fix access to an uninitialized mode variable, found by valgrind
Diffstat (limited to 'Documentation/technical')
-rw-r--r-- | Documentation/technical/api-strbuf.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt index a8ee2fe6a..985800e43 100644 --- 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 it totally safe to modify anything in the string pointed by +However, it is 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 |