From e2671c184e41ac77544809486e994095e3574138 Mon Sep 17 00:00:00 2001 From: Gavin Mak Date: Fri, 17 Apr 2026 20:31:33 +0000 Subject: [PATCH] progress: Ignore updates after progress ends This addresses the occasional "..working.." message at the end of sync. Bug: 503869525 Change-Id: I489d29fa8ae588d77abb7fee5f157800d4abb368 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/574482 Commit-Queue: Gavin Mak Tested-by: Gavin Mak Reviewed-by: Becky Siegel --- progress.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/progress.py b/progress.py index 9a91dcd65..2c0fead5a 100644 --- a/progress.py +++ b/progress.py @@ -159,6 +159,8 @@ class Progress: inc: The number of items completed. msg: The message to display. If None, use the last message. """ + if self._ended: + return self._done += inc if msg is None: msg = self._last_msg