X-Git-Url: https://git.tokkee.org/?p=tig.git;a=blobdiff_plain;f=tig.c;h=c60a6af299a4858c2e296162db46e3b982f8f295;hp=2049789b5fe020a599540f872dcb1becd3969ff5;hb=b2ea386030e3bccd197c42e335d811ed2cbaf2fd;hpb=6c924db8677d5231b2ffb7ac89bac25f9f7a6695 diff --git a/tig.c b/tig.c index 2049789..c60a6af 100644 --- a/tig.c +++ b/tig.c @@ -3978,7 +3978,7 @@ tree_grep(struct view *view, struct line *line) struct tree_entry *entry = line->data; const char *text[] = { entry->name, - opt_author ? entry->author : "", + mkauthor(entry->author, opt_author_cols, opt_author), mkdate(&entry->time, opt_date), NULL }; @@ -4693,7 +4693,7 @@ branch_grep(struct view *view, struct line *line) struct branch *branch = line->data; const char *text[] = { branch->ref->name, - branch->author, + mkauthor(branch->author, opt_author_cols, opt_author), NULL }; @@ -5947,7 +5947,7 @@ main_grep(struct view *view, struct line *line) struct commit *commit = line->data; const char *text[] = { commit->title, - opt_author ? commit->author : "", + mkauthor(commit->author, opt_author_cols, opt_author), mkdate(&commit->time, opt_date), NULL };