OSDN Git Service

api-error-handling doc: typofix
authorThomas Ackermann <th.acker@arcor.de>
Thu, 26 Mar 2015 20:29:47 +0000 (21:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Mar 2015 16:24:55 +0000 (09:24 -0700)
Signed-off-by: Thomas Ackermann <th.acker@arcor.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-error-handling.txt

index fc68db1..ceeedd4 100644 (file)
@@ -58,7 +58,7 @@ to `die` or `error` as-is.  For example:
        if (ref_transaction_commit(transaction, &err))
                die("%s", err.buf);
 
-The 'err' parameter will be untouched if no error occured, so multiple
+The 'err' parameter will be untouched if no error occurred, so multiple
 function calls can be chained:
 
        t = ref_transaction_begin(&err);