diff options
author | Shawn O. Pearce <sop@google.com> | 2009-06-03 11:09:12 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-06-03 11:09:31 -0700 |
commit | da88ff4411e02225a6d511666ed82f7f9711a752 (patch) | |
tree | e6f1cfb44f76c703dcef9ef5168360d94f5a22a3 /project.py | |
parent | 8135cdc53c8737c242a5ba122491c9308a3407d8 (diff) | |
download | git-repo-da88ff4411e02225a6d511666ed82f7f9711a752.tar.gz |
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 <sop@google.com>
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -733,9 +733,7 @@ class Project(object): | |||
733 | last_mine = commit_id | 733 | last_mine = commit_id |
734 | cnt_mine += 1 | 734 | cnt_mine += 1 |
735 | 735 | ||
736 | if not local_changes and not upstream_gain: | 736 | if not upstream_gain and cnt_mine == len(local_changes): |
737 | # Trivially no changes caused by the upstream. | ||
738 | # | ||
739 | return | 737 | return |
740 | 738 | ||
741 | if self.IsDirty(consider_untracked=False): | 739 | if self.IsDirty(consider_untracked=False): |