aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-06-25 13:20:41 +0300
committerJunio C Hamano <gitster@pobox.com>2017-06-27 10:35:49 -0700
commit64127575149e35b409bc2f78962f86507346d604 (patch)
tree3287f694ee01dfabdcab849c10fd90947a0ca531 /refs.h
parente0aaa1b6532cfce93d87af9bc813fb2e7a7ce9d7 (diff)
downloadgit-64127575149e35b409bc2f78962f86507346d604.tar.gz
git-64127575149e35b409bc2f78962f86507346d604.tar.xz
Spelling fixes
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/refs.h b/refs.h
index aa4ecc83d..6daa78eb5 100644
--- a/refs.h
+++ b/refs.h
@@ -574,7 +574,7 @@ int ref_transaction_verify(struct ref_transaction *transaction,
#define TRANSACTION_GENERIC_ERROR -2
/*
- * Perform the preparatory stages of commiting `transaction`. Acquire
+ * Perform the preparatory stages of committing `transaction`. Acquire
* any needed locks, check preconditions, etc.; basically, do as much
* as possible to ensure that the transaction will be able to go
* through, stopping just short of making any irrevocable or
@@ -586,7 +586,7 @@ int ref_transaction_verify(struct ref_transaction *transaction,
* On failure, abort the transaction, write an error message to `err`,
* and return one of the `TRANSACTION_*` constants.
*
- * Callers who don't need such fine-grained control over commiting
+ * Callers who don't need such fine-grained control over committing
* reference transactions should just call `ref_transaction_commit()`.
*/
int ref_transaction_prepare(struct ref_transaction *transaction,