From da88ff4411e02225a6d511666ed82f7f9711a752 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Wed, 3 Jun 2009 11:09:12 -0700 Subject: [PATCH] Silence 'Current branch %s is up to date' during sync We accidentally introduced this message during 1.6.8 by always invoking `git rebase` when there were no new commits from the upstream, but the user had local commits. Signed-off-by: Shawn O. Pearce --- project.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/project.py b/project.py index 45229e54..1beee2a6 100644 --- a/project.py +++ b/project.py @@ -733,9 +733,7 @@ class Project(object): last_mine = commit_id cnt_mine += 1 - if not local_changes and not upstream_gain: - # Trivially no changes caused by the upstream. - # + if not upstream_gain and cnt_mine == len(local_changes): return if self.IsDirty(consider_untracked=False):