src/heatmap.cpp

changeset 64
cfaddbb6caab
parent 61
d77763d2fdda
--- a/src/heatmap.cpp	Mon Aug 11 20:06:16 2025 +0200
+++ b/src/heatmap.cpp	Mon Aug 11 20:06:28 2025 +0200
@@ -61,7 +61,8 @@
                     chrono::year{year}, chrono::month{month}, chrono::day{day}
                 }];
         summaries[m_current_repo].emplace_back(summary_view);
-        if (!tags_view.empty()) {
+        // special case: if the (only) tag is "tip", we do not add it
+        if (!tags_view.empty() && tags_view != "tip") {
             tags[m_current_repo].emplace_back(tags_view);
         }
     }

mercurial