repo: remove unused header
The "hex.h" header is included in "builtin/repo.c", but none of the functions or macros it provides are used in this file.
---
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(-)
builtin/repo.c +0 -1
@@ -2,7 +2,6 @@#include "builtin.h" #include "environment.h" -#include "hex.h" #include "odb.h" #include "parse-options.h" #include "path-walk.h"
Signature · 1 line
2.52.0
Quoted 17 lines · K Jayatheerth
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 <[email protected]>---
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(-)builtin/repo.c +0
-0
builtin/repo.c line 5
Quoted 4 lines
builtin/repo.c +0
-1@@ -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]: <[email protected]>
Quoted 20 lines · Justin Tobler
Quoted 18 lines · K Jayatheerth
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 <[email protected]>---
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(-)builtin/repo.c +0
-0@@ -2,7 +2,6 @@
Quoted 8 lines
builtin/repo.c line 5
Quoted 3 lines
builtin/repo.c +0
-1#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.
Understood Justin
Thanks for the info
Regards
- Jayatheerth