summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 6c924db)
raw | patch | inline | side by side (from parent 1: 6c924db)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 14 Apr 2011 00:36:19 +0000 (20:36 -0400) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 14 Apr 2011 00:36:19 +0000 (20:36 -0400) |
tig.c | patch | blob | history |
index 2049789b5fe020a599540f872dcb1becd3969ff5..c60a6af299a4858c2e296162db46e3b982f8f295 100644 (file)
--- a/tig.c
+++ b/tig.c
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
};
struct branch *branch = line->data;
const char *text[] = {
branch->ref->name,
- branch->author,
+ mkauthor(branch->author, opt_author_cols, opt_author),
NULL
};
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
};