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>
maint
Derrick Stolee 2026-03-26 15:14:49 +00:00 committed by Junio C Hamano
parent ca1db8a0f7
commit 50da232312
1 changed files with 1 additions and 0 deletions

View File

@ -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"