diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -556,7 +556,7 @@ class Project(object): | |||
556 | '--unmerged', | 556 | '--unmerged', |
557 | '--ignore-missing', | 557 | '--ignore-missing', |
558 | '--refresh') | 558 | '--refresh') |
559 | if self.work_git.DiffZ('diff-index','-M','--cached',HEAD): | 559 | if self.work_git.DiffZ('diff-index', '-M', '--cached', HEAD): |
560 | return True | 560 | return True |
561 | if self.work_git.DiffZ('diff-files'): | 561 | if self.work_git.DiffZ('diff-files'): |
562 | return True | 562 | return True |
@@ -1880,7 +1880,7 @@ class Project(object): | |||
1880 | self.level = self.level[1:] | 1880 | self.level = self.level[1:] |
1881 | 1881 | ||
1882 | info = info[1:].split(' ') | 1882 | info = info[1:].split(' ') |
1883 | info =_Info(path, *info) | 1883 | info = _Info(path, *info) |
1884 | if info.status in ('R', 'C'): | 1884 | if info.status in ('R', 'C'): |
1885 | info.src_path = info.path | 1885 | info.src_path = info.path |
1886 | info.path = out.next() | 1886 | info.path = out.next() |