public void WriteCommitLine(CommitInfo info) { if (!info.AllIgnored) { writer.WriteLine($"{info.Author}\t{info.GetShortCommitId()} {info.Message}"); } }
public void WriteCommitLine(CommitInfo info) { string tr_class = info.AllIgnored ? "ignored-hidden" : $"commit-{info.CommitId}"; this.writer.WriteLine($@" <tr class=""{tr_class}"" onclick=""toggleCommit('commit-{info.CommitId}')""> <td class=""author""> {info.Author} </td> <td class=""commit-id""> <a href=""https://github.com/git/git/commit/{info.CommitId}"">{info.GetShortCommitId()}</a> </td> <td class=""message""> {info.Message} </td> </tr>" ); }