]> git.ipfire.org Git - thirdparty/git.git/commitdiff
refs: fix typos
authorAndrew Kreimer <algonell@gmail.com>
Thu, 19 Sep 2024 18:34:35 +0000 (18:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Sep 2024 20:46:12 +0000 (13:46 -0700)
Fix typos in comments.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.h

diff --git a/refs.h b/refs.h
index b3e39bc257046d9672d2fdafb50e2e05c76f4bee..833fd39235153f5147140df06654f085566f7dfd 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -15,7 +15,7 @@ enum ref_storage_format ref_storage_format_by_name(const char *name);
 const char *ref_storage_format_to_name(enum ref_storage_format ref_storage_format);
 
 /*
- * Resolve a reference, recursively following symbolic refererences.
+ * Resolve a reference, recursively following symbolic references.
  *
  * Return the name of the non-symbolic reference that ultimately pointed
  * at the resolved object name.  The return value, if not NULL, is a
@@ -487,7 +487,7 @@ int refs_delete_reflog(struct ref_store *refs, const char *refname);
  * from UTC.  Its absolute value is formed by multiplying the hour
  * part by 100 and adding the minute part.  For example, 1 hour ahead
  * of UTC, CET == "+0100", is represented as positive one hundred (not
- * postiive sixty).
+ * positive sixty).
  *
  * The msg parameter is a single complete line; a reflog message given
  * to refs_delete_ref, refs_update_ref, etc. is returned to the
@@ -978,7 +978,7 @@ struct ref_store *get_worktree_ref_store(const struct worktree *wt);
 
 /*
  * Some of the names specified by refs have special meaning to Git.
- * Organize these namespaces in a comon 'ref_namespace' array for
+ * Organize these namespaces in a common 'ref_namespace' array for
  * reference from multiple places in the codebase.
  */