Skip to content

Commit 9d3d0db

Browse files
committed
Merge branch 'pc/occurred' into maint
Typofix. * pc/occurred: config.c: fix misspelt "occurred" in an error message refs.h: fix misspelt "occurred" in a comment
2 parents 25227f0 + 3a39f61 commit 9d3d0db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ static void git_config_raw(config_fn_t fn, void *data)
12811281
* something went really wrong and we should stop
12821282
* immediately.
12831283
*/
1284-
die(_("unknown error occured while reading the configuration files"));
1284+
die(_("unknown error occurred while reading the configuration files"));
12851285
}
12861286

12871287
static void configset_iter(struct config_set *cs, config_fn_t fn, void *data)

refs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ struct ref_transaction *ref_transaction_begin(struct strbuf *err);
345345
* msg -- a message describing the change (for the reflog).
346346
*
347347
* err -- a strbuf for receiving a description of any error that
348-
* might have occured.
348+
* might have occurred.
349349
*
350350
* The functions make internal copies of refname and msg, so the
351351
* caller retains ownership of these parameters.

0 commit comments

Comments
 (0)