commit 8d5cafcddcaa5121a2e7e4d6b6399e00fc7aaf05
parent 0d740c96bd0ee5bdcfa80b069e0e59c1f149aabb
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sat, 8 Oct 2016 19:09:48 -0400
report: only display changes up to the newly installed version
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/report.cpp b/src/report.cpp
@@ -121,8 +121,8 @@ void Report::printUpdates()
for(const Version *ver : versions | boost::adaptors::reversed) {
if(*ver <= ticket.previous.version)
break;
-
- m_stream << *ver;
+ else if(*ver <= *ticket.version)
+ m_stream << *ver;
}
}
}