summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kreimer <algonell@gmail.com>2024-09-19 20:34:34 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-19 22:50:36 +0200
commit20652956420f7bd64339b4566623c293016e86b7 (patch)
treeae1902782744f728c1dbdb7c07624da1c243c2d5
parentref-filter: populate symref from iterator (diff)
downloadgit-20652956420f7bd64339b4566623c293016e86b7.tar.xz
git-20652956420f7bd64339b4566623c293016e86b7.zip
ref-filter: fix a typo
Fix a typo in comments. Signed-off-by: Andrew Kreimer <algonell@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--ref-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c
index 4d1f3ff3d2..5e01e54a2b 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -2344,7 +2344,7 @@ static int populate_value(struct ref_array_item *ref, struct strbuf *err)
CALLOC_ARRAY(ref->value, used_atom_cnt);
/**
- * NEEDSWORK: The following code might be unncessary if all codepaths
+ * NEEDSWORK: The following code might be unnecessary if all codepaths
* that call populate_value() populates the symref member of ref_array_item
* like in apply_ref_filter(). Currently pretty_print_ref() is the only codepath
* that calls populate_value() without first populating symref.