diff options
Diffstat (limited to 'line-log.c')
-rw-r--r-- | line-log.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/line-log.c b/line-log.c index a7f3e7f6ce..10c19daec4 100644 --- a/line-log.c +++ b/line-log.c @@ -1,6 +1,7 @@ #include "git-compat-util.h" +#include "alloc.h" #include "line-range.h" -#include "cache.h" +#include "hex.h" #include "tag.h" #include "blob.h" #include "tree.h" @@ -14,6 +15,7 @@ #include "graph.h" #include "userdiff.h" #include "line-log.h" +#include "setup.h" #include "strvec.h" #include "bloom.h" @@ -1281,7 +1283,8 @@ int line_log_process_ranges_arbitrary_commit(struct rev_info *rev, struct commit return changed; } -static enum rewrite_result line_log_rewrite_one(struct rev_info *rev, struct commit **pp) +static enum rewrite_result line_log_rewrite_one(struct rev_info *rev UNUSED, + struct commit **pp) { for (;;) { struct commit *p = *pp; |