aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2026-03-26 15:14:49 +0000
committerJunio C Hamano <gitster@pobox.com>2026-03-26 09:38:06 -0700
commit50da232312dc753ba6352995399bed5e9e28d926 (patch)
treeba0933176ca38aef18d104c368adf8432d57c8eb
parentca1db8a0f7dc0dbea892e99f5b37c5fe5861be71 (diff)
downloadgit-50da232312dc753ba6352995399bed5e9e28d926.tar.xz
revision: include object-name.h
The REV_INFO_INIT macro includes a use of the DEFAULT_ABBREV macro, which is defined in object-name.h. Include it in revision.h so consumers of REV_INFO_INIT do not need to include this hidden dependency. Signed-off-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index 69242ecb18..584f1338b5 100644
--- a/revision.h
+++ b/revision.h
@@ -4,6 +4,7 @@
#include "commit.h"
#include "grep.h"
#include "notes.h"
+#include "object-name.h"
#include "oidset.h"
#include "pretty.h"
#include "diff.h"