diff options
author | Elijah Newren <newren@gmail.com> | 2019-11-05 17:07:23 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-10 16:00:54 +0900 |
commit | 15beaaa3d1f6b555900446deb5e376b4f806d734 (patch) | |
tree | 96a960cd2c0c9b1cceeb9c7f5ed46680ba5e67b9 /builtin/gc.c | |
parent | Fix spelling errors in documentation outside of Documentation/ (diff) | |
download | tgif-15beaaa3d1f6b555900446deb5e376b4f806d734.tar.xz |
Fix spelling errors in code comments
Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/gc.c')
-rw-r--r-- | builtin/gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/gc.c b/builtin/gc.c index fadb45489f..3f76bf4aa7 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -458,7 +458,7 @@ static const char *lock_repo_for_gc(int force, pid_t* ret_pid) /* * Returns 0 if there was no previous error and gc can proceed, 1 if * gc should not proceed due to an error in the last run. Prints a - * message and returns -1 if an error occured while reading gc.log + * message and returns -1 if an error occurred while reading gc.log */ static int report_last_gc_error(void) { @@ -601,7 +601,7 @@ int cmd_gc(int argc, const char **argv, const char *prefix) if (detach_auto) { int ret = report_last_gc_error(); if (ret < 0) - /* an I/O error occured, already reported */ + /* an I/O error occurred, already reported */ exit(128); if (ret == 1) /* Last gc --auto failed. Skip this one. */ |