]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/rev-list.c
pretty: drop print_email_subject flag
[thirdparty/git.git] / builtin / rev-list.c
index 181353dcf51ba8af7620b8926084a1cbea3163b2..98024b5614d8d43f27bfaf128ba027222da62ba3 100644 (file)
@@ -7,13 +7,11 @@
 #include "hex.h"
 #include "revision.h"
 #include "list-objects.h"
-#include "list-objects-filter.h"
 #include "list-objects-filter-options.h"
 #include "object.h"
 #include "object-name.h"
 #include "object-file.h"
 #include "object-store-ll.h"
-#include "pack.h"
 #include "pack-bitmap.h"
 #include "log-tree.h"
 #include "graph.h"
@@ -221,6 +219,7 @@ static void show_commit(struct commit *commit, void *data)
                ctx.fmt = revs->commit_format;
                ctx.output_encoding = get_log_output_encoding();
                ctx.color = revs->diffopt.use_color;
+               ctx.rev = revs;
                pretty_print_commit(&ctx, commit, &buf);
                if (buf.len) {
                        if (revs->commit_format != CMIT_FMT_ONELINE)