1
0
mirror of https://github.com/git/git.git synced 2024-09-28 23:11:39 +02:00

Merge branch 'pc/occurred'

* pc/occurred:
  config.c: fix misspelt "occurred" in an error message
  refs.h: fix misspelt "occurred" in a comment
This commit is contained in:
Junio C Hamano 2016-06-27 09:56:42 -07:00
commit af325b0f9a
2 changed files with 2 additions and 2 deletions

@ -1281,7 +1281,7 @@ static void git_config_raw(config_fn_t fn, void *data)
* something went really wrong and we should stop
* immediately.
*/
die(_("unknown error occured while reading the configuration files"));
die(_("unknown error occurred while reading the configuration files"));
}
static void configset_iter(struct config_set *cs, config_fn_t fn, void *data)

2
refs.h

@ -345,7 +345,7 @@ struct ref_transaction *ref_transaction_begin(struct strbuf *err);
* msg -- a message describing the change (for the reflog).
*
* err -- a strbuf for receiving a description of any error that
* might have occured.
* might have occurred.
*
* The functions make internal copies of refname and msg, so the
* caller retains ownership of these parameters.