sideband.c: remove redundant 'NEEDSWORK' tag
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Chandra Pratap committed
Dec 28, 2023 at 08:01 UTC
03bcc93769bd5e3b14094c36e3d466587f922274
1 file changed
+4
-1
sideband.c
+4
-1
@@ -66,7 +66,10 @@ void list_config_color_sideband_slots(struct string_list *list, const char *pref
66
* of the line. This should be called for a single line only, which is
67
* passed as the first N characters of the SRC array.
68
*
69
- * NEEDSWORK: use "size_t n" instead for clarity.
69
+ * It is fine to use "int n" here instead of "size_t n" as all calls to this
70
+ * function pass an 'int' parameter. Additionally, the buffer involved in
71
+ * storing these 'int' values takes input from a packet via the pkt-line
72
+ * interface, which is capable of transferring only 64kB at a time.
73
*/
74
static void maybe_colorize_sideband(struct strbuf *dest, const char *src, int n)
75
{