aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/pending.go
diff options
context:
space:
mode:
Diffstat (limited to 'git-codereview/pending.go')
-rw-r--r--git-codereview/pending.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-codereview/pending.go b/git-codereview/pending.go
index 3ed50ec..671102d 100644
--- a/git-codereview/pending.go
+++ b/git-codereview/pending.go
@@ -332,6 +332,9 @@ func formatCommit(w io.Writer, c *Commit, short bool) {
}
tags = append(tags, "merge="+strings.Join(h, ","))
}
+ if g.UnresolvedCommentCount > 0 {
+ tags = append(tags, fmt.Sprintf("%d unresolved", g.UnresolvedCommentCount))
+ }
if len(tags) > 0 {
fmt.Fprintf(w, " (%s)", strings.Join(tags, ", "))
}