if err != nil {
makeErr(err)
}
- commentN := 0
+ commitN := 0
for i := 0; i < offset; i++ {
if _, err = repoLog.Next(); err != nil {
break
}
- commentN++
+ commitN++
}
entries := make([]TableEntry, 0, PageEntries)
`<th size="5%"><a title="Comments">C</a></th>` +
"<th>Linked to</th></tr>\n")
for _, entry := range entries {
- commentN++
+ commitN++
lines := msgSplit(entry.commit.Message)
domains := []string{}
for _, line := range lines[2:] {
"<td>%s</td>"+
"<td>%d</td><td>%s</td>"+
"<td>%s</td></tr>\n",
- commentN, entry.commit.Author.When.Format(sgblog.WhenFmt),
+ commitN, entry.commit.Author.When.Format(sgblog.WhenFmt),
makeA(cfg.URLPrefix+"/"+entry.commit.Hash.String(), lines[0]),
len(lines)-2,
commentsValue,