summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-strbuf.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-04 08:12:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-04 08:12:19 (GMT)
commitb63bc0bc3152ca42ba1c9fa9bed73da061beeca2 (patch)
tree709ceb2c6c62fa58f4d694599374ef10ac305cfe /Documentation/technical/api-strbuf.txt
parent738a94a9f645a5f63fbccaab76d5e43a97e53d78 (diff)
parentf0817310903312bbc243dd80f066e17a8e0e4b1d (diff)
downloadgit-b63bc0bc3152ca42ba1c9fa9bed73da061beeca2.zip
git-b63bc0bc3152ca42ba1c9fa9bed73da061beeca2.tar.gz
git-b63bc0bc3152ca42ba1c9fa9bed73da061beeca2.tar.bz2
Merge branch 'maint'
* maint: 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 Conflicts: Makefile
Diffstat (limited to 'Documentation/technical/api-strbuf.txt')
-rw-r--r--Documentation/technical/api-strbuf.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt
index 9a4e3ea..ac56d1c 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