diff options
Diffstat (limited to 'test-revision-walking.c')
-rw-r--r-- | test-revision-walking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-revision-walking.c b/test-revision-walking.c index 3ade02c72d..285f06b7ff 100644 --- a/test-revision-walking.c +++ b/test-revision-walking.c @@ -17,7 +17,7 @@ static void print_commit(struct commit *commit) { struct strbuf sb = STRBUF_INIT; struct pretty_print_context ctx = {0}; - ctx.date_mode = DATE_NORMAL; + ctx.date_mode.type = DATE_NORMAL; format_commit_message(commit, " %m %s", &sb, &ctx); printf("%s\n", sb.buf); strbuf_release(&sb); |