From: Hiltjo Posthuma Date: Thu, 21 Jan 2016 19:42:11 +0000 (+0100) Subject: just use Name as first column, thanks quinq for the suggestion X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=ce535ae1afda4af825cc81af9b4f32a5dd09d73b;p=forks%2Fstagit.git just use Name as first column, thanks quinq for the suggestion --- diff --git a/stagit.c b/stagit.c index ee414c1..4d967e9 100644 --- a/stagit.c +++ b/stagit.c @@ -769,7 +769,6 @@ writerefs(FILE *fp) git_reference_iterator *it = NULL; git_reference **refs = NULL; size_t count, i, j, refcount = 0; - const char *cols[] = { "Branch", "Tag" }; /* first column title */ const char *titles[] = { "Branches", "Tags" }; const char *ids[] = { "branches", "tags" }; const char *name; @@ -816,9 +815,9 @@ writerefs(FILE *fp) /* print header if it has an entry (first). */ if (++count == 1) { - fprintf(fp, "

%s

\n" + fprintf(fp, "

%s

%s
\n" "\n\n\n", - titles[j], ids[j], cols[j]); + titles[j], ids[j]); } relpath = "";
NameLast commit dateAuthor