From c9a8abcf9a9997d463a6a05668fd9a90a26df1f2 Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Thu, 5 Feb 2009 05:00:40 +0800 Subject: fix typo in Documentation Signed-off-by: Guanqun Lu Signed-off-by: Junio C Hamano --- Documentation/technical/api-strbuf.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt index a9668e5f2..4242dc014 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 -- cgit v1.2.1 From 7a85f6ae88be5937c32a7b61601a40a02c03fb3f Mon Sep 17 00:00:00 2001 From: William Pursell Date: Tue, 3 Feb 2009 22:41:14 +0000 Subject: User-manual: "git stash " form is long gone These days you must explicitly say "git stash save ". Signed-off-by: William Pursell Signed-off-by: Junio C Hamano --- Documentation/user-manual.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index 99cb80878..2ae88c575 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -1497,7 +1497,7 @@ so on a different branch and then coming back), unstash the work-in-progress changes. ------------------------------------------------ -$ git stash "work in progress for foo feature" +$ git stash save "work in progress for foo feature" ------------------------------------------------ This command will save your changes away to the `stash`, and -- cgit v1.2.1