{"thread":{"id":"36870","subject":"[PATCH] api-strbuf.txt minor typos","startedAt":"2014-06-09T03:32:03Z","lastAt":"2014-06-09T03:32:03Z","messageCount":1,"participants":["Jeremiah Mahler"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"243607","messageId":"1402284723-14182-1-git-send-email-jmmahler@gmail.com","threadId":"36870","inReplyTo":null,"subject":"[PATCH] api-strbuf.txt minor typos","fromName":"Jeremiah Mahler","fromEmail":"jmmahler@gmail.com","sentAt":"2014-06-09T03:32:03Z","receivedAt":"2014-06-09T03:32:03Z","isPatch":true,"sender":{"key":"jmmahler@gmail.com","avatar":"https://avatars.githubusercontent.com/u/154028?v=4"},"body":"Fixed some minor typos in api-strbuf.txt: 'A' instead of 'An', 'have'\ninstead of 'has', a overlong line, and 'another' instead of 'an other'.\n\nSigned-off-by: Jeremiah Mahler <jmmahler@gmail.com>\n---\n Documentation/technical/api-strbuf.txt | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)\n\ndiff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt\nindex 077a709..f9c06a7 100644\n--- a/Documentation/technical/api-strbuf.txt\n+++ b/Documentation/technical/api-strbuf.txt\n@@ -7,10 +7,10 @@ use the mem* functions than a str* one (memchr vs. strchr e.g.).\n Though, one has to be careful about the fact that str* functions often\n stop on NULs and that strbufs may have embedded NULs.\n \n-An strbuf is NUL terminated for convenience, but no function in the\n+A strbuf is NUL terminated for convenience, but no function in the\n strbuf API actually relies on the string being free of NULs.\n \n-strbufs has some invariants that are very important to keep in mind:\n+strbufs have some invariants that are very important to keep in mind:\n \n . The `buf` member is never NULL, so it can be used in any usual C\n string operations safely. strbuf's _have_ to be initialized either by\n@@ -56,8 +56,8 @@ Data structures\n * `struct strbuf`\n \n This is the string buffer structure. The `len` member can be used to\n-determine the current length of the string, and `buf` member provides access to\n-the string itself.\n+determine the current length of the string, and `buf` member provides\n+access to the string itself.\n \n Functions\n ---------\n@@ -202,7 +202,7 @@ strbuf_addstr(sb, \"immediate string\");\n \n `strbuf_addbuf`::\n \n-\tCopy the contents of an other buffer at the end of the current one.\n+\tCopy the contents of another buffer at the end of the current one.\n \n `strbuf_adddup`::\n \n-- \n2.0.0.574.gc6f278f\n"}]}