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>
Andrew Kreimer committed
Sep 19, 2024 at 18:34 UTC
20652956420f7bd64339b4566623c293016e86b7
1 file changed
+1
-1
ref-filter.c
+1
-1
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.