just use Name as first column, thanks quinq for the suggestion - stagit-gopher … | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit ce535ae1afda4af825cc81af9b4f32a5dd09d73b | |
parent 75b4b23c9f0331fa933392e78fb387b08c740017 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Thu, 21 Jan 2016 20:42:11 +0100 | |
just use Name as first column, thanks quinq for the suggestion | |
Diffstat: | |
M stagit.c | 5 ++--- | |
1 file changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git 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, "<h2>%s</h2><table id=\"%s\"><thea… | |
+ fprintf(fp, "<h2>%s</h2><table id=\"%s\"><thea… | |
"<td>Last commit date</td><td>Author</td… | |
- titles[j], ids[j], cols[j]); | |
+ titles[j], ids[j]); | |
} | |
relpath = ""; |