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

[GSoC] repo: remove unused header

From
K Jayatheerth <jayatheerthkulkarni2005@gmail.com>
Date
Feb 22, 2026, 00:40 UTC
Message-ID
<20260222004036.47744-1-jayatheerthkulkarni2005@gmail.com>

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"
 #include "odb.h"
 #include "parse-options.h"
 #include "path-walk.h"
-- 
2.52.0
Next: Justin Tobler
Message 1 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.