59 auto &[summaries, tags] = |
59 auto &[summaries, tags] = |
60 m_heatmap[repo_key][author][chrono::year_month_day{ |
60 m_heatmap[repo_key][author][chrono::year_month_day{ |
61 chrono::year{year}, chrono::month{month}, chrono::day{day} |
61 chrono::year{year}, chrono::month{month}, chrono::day{day} |
62 }]; |
62 }]; |
63 summaries[m_current_repo].emplace_back(summary_view); |
63 summaries[m_current_repo].emplace_back(summary_view); |
64 if (!tags_view.empty()) { |
64 // special case: if the (only) tag is "tip", we do not add it |
|
65 if (!tags_view.empty() && tags_view != "tip") { |
65 tags[m_current_repo].emplace_back(tags_view); |
66 tags[m_current_repo].emplace_back(tags_view); |
66 } |
67 } |
67 } |
68 } |
68 } |
69 } |
69 |
70 |