diff --git a/builtin-log.c b/builtin-log.c
index b6a11220e258468bddd92181bf18ce55343abf2e..cc3cc9069a824740d2d5cceba95597e036f67120 100644 (file)
--- a/builtin-log.c
+++ b/builtin-log.c
static int default_show_root = 1;
static const char *fmt_patch_subject_prefix = "PATCH";
-/* this is in builtin-diff.c */
-void add_head(struct rev_info *revs);
-
static void add_name_decoration(const char *prefix, const char *name, struct object *obj)
{
int plen = strlen(prefix);
* does not have.
*/
rev.pending.objects[0].item->flags |= UNINTERESTING;
- add_head(&rev);
+ add_head_to_pending(&rev);
}
/*
* Otherwise, it is "format-patch -22 HEAD", and/or