Skip to content

Commit fda0239

Browse files
committed
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>
1 parent 67ad421 commit fda0239

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

revision.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "commit.h"
55
#include "grep.h"
66
#include "notes.h"
7+
#include "object-name.h"
78
#include "oidset.h"
89
#include "pretty.h"
910
#include "diff.h"

0 commit comments

Comments
 (0)