summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-07-06 13:06:43 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-06 13:06:43 -0700
commit9d3d0dbb14fa529492d828485b1f65aa9e0ed199 (patch)
tree0d2c14f1edb85b98ad68981046908e48bb6ccda9
parentMerge branch 'mg/cherry-pick-multi-on-unborn' into maint (diff)
parentconfig.c: fix misspelt "occurred" in an error message (diff)
downloadtgif-9d3d0dbb14fa529492d828485b1f65aa9e0ed199.tar.xz
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
-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.