diff options
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c index 7eee664cd2..627c711f70 100644 --- a/log-tree.c +++ b/log-tree.c @@ -2,6 +2,8 @@ #include "commit-reach.h" #include "config.h" #include "diff.h" +#include "environment.h" +#include "hex.h" #include "object-store.h" #include "repository.h" #include "tmp-objdir.h" @@ -12,6 +14,7 @@ #include "merge-ort.h" #include "reflog-walk.h" #include "refs.h" +#include "replace-object.h" #include "string-list.h" #include "color.h" #include "gpg-interface.h" @@ -20,6 +23,7 @@ #include "help.h" #include "range-diff.h" #include "strmap.h" +#include "write-or-die.h" static struct decoration name_decoration = { "object names" }; static int decoration_loaded; @@ -196,7 +200,8 @@ static int add_ref_decoration(const char *refname, const struct object_id *oid, return 0; } -static int add_graft_decoration(const struct commit_graft *graft, void *cb_data) +static int add_graft_decoration(const struct commit_graft *graft, + void *cb_data UNUSED) { struct commit *commit = lookup_commit(the_repository, &graft->oid); if (!commit) |