From: Derrick Stolee Date: Thu, 26 Mar 2026 15:14:49 +0000 (+0000) Subject: revision: include object-name.h X-Git-Tag: v2.54.0-rc1~34^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50da232312dc753ba6352995399bed5e9e28d926;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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"