git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [GSoC] repo: remove unused header

From
Justin Tobler <jltobler@gmail.com>
Date
Feb 22, 2026, 05:13 UTC
Message-ID
<aZqPXRHOHU3EjfvH@denethor>
In-Reply-To
<20260222004036.47744-1-jayatheerthkulkarni2005@gmail.com>
On 26/02/22 06:10AM, K Jayatheerth wrote:
Show 21 quoted lines
> The "hex.h" header is included in "builtin/repo.c", but none of the
> functions or macros it provides are used in this file.
> 
> Signed-off-by: K Jayatheerth <jayatheerthkulkarni2005@gmail.com>
> ---
> 
> As instructed in the Getting Started section of SoC 2026 Ideas page in repo project
> This comes as a micro patch.
> 
>  builtin/repo.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/builtin/repo.c b/builtin/repo.c
> index 0ea045abc1..63d21df4c2 100644
> --- a/builtin/repo.c
> +++ b/builtin/repo.c
> @@ -2,7 +2,6 @@
>  
>  #include "builtin.h"
>  #include "environment.h"
> -#include "hex.h"

This include is indeed unused. I am currently working on a series [1] that will use this header again. I can of course just re-add it in that series as well though.

Thanks, -Justin

[1]: <20260203221758.1164434-1-jltobler@gmail.com>
Previous: K JayatheerthNext: JAYATHEERTH K
Message 2 of 3 in “[GSoC] repo: remove unused header”
  1. K JayatheerthFeb 22, 2026
  2. Justin ToblerFeb 22, 2026
  3. JAYATHEERTH KFeb 22, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.