aboutsummaryrefslogtreecommitdiffstats
path: root/bug/snapshot.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-01 23:34:45 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-01 23:34:45 +0200
commit8ec1dd092656aed5dae22a0301bd3f85b5dabb88 (patch)
tree26ee832a2d629d48e9ac9f43fc808f17a4a77154 /bug/snapshot.go
parentf18c2d278352f556b90ad9a52c33499665e16fa2 (diff)
downloadgit-bug-8ec1dd092656aed5dae22a0301bd3f85b5dabb88.tar.gz
github: working incremental + comment history for the first comment
Diffstat (limited to 'bug/snapshot.go')
-rw-r--r--bug/snapshot.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bug/snapshot.go b/bug/snapshot.go
index 28a92961..1004b625 100644
--- a/bug/snapshot.go
+++ b/bug/snapshot.go
@@ -33,6 +33,7 @@ func (snap *Snapshot) HumanId() string {
return fmt.Sprintf("%.8s", snap.id)
}
+// Deprecated:should be moved in UI code
func (snap *Snapshot) Summary() string {
return fmt.Sprintf("C:%d L:%d",
len(snap.Comments)-1,