aboutsummaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorMike Ralphson <mike@abacus.co.uk>2009-03-03 19:29:22 +0000
committerJunio C Hamano <gitster@pobox.com>2009-03-03 21:43:19 -0800
commita1070d4cbbf1002cc0b01afc3de06382deb0511a (patch)
treed38bcbf550f7eeaab6575e4804a3697152407d3f /Documentation/technical
parent5a4aaaf3aa2ef02b6b397206cf222643b68b36c7 (diff)
downloadgit-a1070d4cbbf1002cc0b01afc3de06382deb0511a.tar.gz
git-a1070d4cbbf1002cc0b01afc3de06382deb0511a.tar.xz
Documentation: Typo / spelling / formatting fixes
Signed-off-by: Mike Ralphson <mike@abacus.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
-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 ac56d1c47..743814924 100644
--- a/Documentation/technical/api-strbuf.txt
+++ b/Documentation/technical/api-strbuf.txt
@@ -222,7 +222,7 @@ which can be used by the programmer of the callback as she sees fit.
Read a given size of data from a FILE* pointer to the buffer.
+
-NOTE: The buffer is rewinded if the read fails. If -1 is returned,
+NOTE: The buffer is rewound if the read fails. If -1 is returned,
`errno` must be consulted, like you would do for `read(3)`.
`strbuf_read()`, `strbuf_read_file()` and `strbuf_getline()` has the
same behaviour as well.