Re: [PATCH] [Outreachy] patch-ids: fix const correctness
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 13, 2025, 18:33 UTC
- Message-ID
- <xmqqo6qa1wjg.fsf@gitster.g>
- In-Reply-To
- <CAFpMFfAHA8OfVXKVVSSAQ5p+B8ngT3p54on1HpM+n2qs3P1rHA@mail.gmail.com>
Okhuomon Ajayi <okhuomonajayi54@gmail.com> writes:
> Thanks for explaining! I get it now the NEEDSWORK comment isn’t needed > since the hashmap API is supposed to have cmpfn_data as const. I’ve > removed the comment and didn’t change anything else
The NEEDSWORK comment is about going even further, starting from question if hashmap should really be using "const" in the first place, to sort things out among all the components involved (including other users of the hashmap API).
A commit that does not do the necessary study and just removes the needswork comment is simply irresponsible, no?