Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-06-27 19:56:42 +0300
committerJunio C Hamano <gitster@pobox.com>2016-06-27 19:56:42 +0300
commitaf325b0f9abacda405e19947a929ad5a3a14cb90 (patch)
tree7d053b28eaf6805144c044600fc1a77919f2f842
parent0bbda4bac71605af21be2670c1f4d04d10594fcc (diff)
parent3a39f61e0468d7aea1a6f57ddbdcc74aaafa8410 (diff)
Merge branch 'pc/occurred'
* pc/occurred: config.c: fix misspelt "occurred" in an error message refs.h: fix misspelt "occurred" in a comment
-rw-r--r--config.c2
-rw-r--r--refs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index f51c56bf92..d7ce34b33d 100644
--- a/config.c
+++ b/config.c
@@ -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)
diff --git a/refs.h b/refs.h
index 9230d47142..56089d5724 100644
--- a/refs.h
+++ b/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.