diff options
-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): |