Add --relative-date option to the revision interface
Exposes the infrastructure from 9a8e35e987.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
b17fda5c07
commit
3dfb9278df
@ -261,7 +261,7 @@ static void show_one_commit(struct commit *commit, int no_name)
|
||||
struct commit_name *name = commit->util;
|
||||
if (commit->object.parsed)
|
||||
pretty_print_commit(CMIT_FMT_ONELINE, commit, ~0,
|
||||
pretty, sizeof(pretty), 0, NULL, NULL);
|
||||
pretty, sizeof(pretty), 0, NULL, NULL, 0);
|
||||
else
|
||||
strcpy(pretty, "(unavailable)");
|
||||
if (!strncmp(pretty, "[PATCH] ", 8))
|
||||
|
||||
Reference in New Issue
Block a user