aboutsummaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2026-02-08 18:01:24 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-08 15:16:49 -0800
commit6c21e53badfc31883fa30fdb009d6b983e9e42ac (patch)
tree8bfdef601d4898f70609ca4d0a3264abd0468978 /version.c
parent67ad42147a7acc2af6074753ebd03d904476118f (diff)
downloadgit-6c21e53badfc31883fa30fdb009d6b983e9e42ac.tar.xz
version: stop using the_repository
Actually it has never been used in version.c since cf7ee481902 (agent: advertise OS name via agent capability, 2025-02-15) added the dependency macro. Remove it, along with the also unused struct declaration. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'version.c')
-rw-r--r--version.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/version.c b/version.c
index 279269cc50..21ec7c0fbe 100644
--- a/version.c
+++ b/version.c
@@ -1,5 +1,3 @@
-#define USE_THE_REPOSITORY_VARIABLE
-
#include "git-compat-util.h"
#include "version.h"
#include "strbuf.h"