]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ref-filter: fix a typo
authorAndrew Kreimer <algonell@gmail.com>
Thu, 19 Sep 2024 18:34:34 +0000 (18:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Sep 2024 20:50:36 +0000 (13:50 -0700)
Fix a typo in comments.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c

index 4d1f3ff3d23095b531d3d9a9f916a5684c606459..5e01e54a2bc0beb714ae0bdf93f623377d1ba52a 100644 (file)
@@ -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.