aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Devaux <sebastien.devaux@laposte.net>2019-01-04 12:27:03 +0100
committerSebastien Devaux <sebastien.devaux@laposte.net>2019-01-04 12:27:03 +0100
commit76386720fe4ce6af615cc9e488fad9e6cf125957 (patch)
treedcba9901f5d91ac95a4fdf2a4799482354e843ac
parent171acad6194dc1ceecca36d3d50795d5c84985d1 (diff)
downloadgit-bug-76386720fe4ce6af615cc9e488fad9e6cf125957.tar.gz
Issue #87: use same id format function in snapshot.go than in bug.go
-rw-r--r--bug/snapshot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/snapshot.go b/bug/snapshot.go
index 1004b625..72e673d4 100644
--- a/bug/snapshot.go
+++ b/bug/snapshot.go
@@ -30,7 +30,7 @@ func (snap *Snapshot) Id() string {
// Return the Bug identifier truncated for human consumption
func (snap *Snapshot) HumanId() string {
- return fmt.Sprintf("%.8s", snap.id)
+ return FormatHumanID(snap.id)
}
// Deprecated:should be moved in UI code