Lines 119-126
class GitSync(NewBase):
Link Here
|
119 |
# update-index --refresh is needed on some filesystems |
119 |
# update-index --refresh is needed on some filesystems |
120 |
# (e.g. with overlayfs on squashfs) |
120 |
# (e.g. with overlayfs on squashfs) |
121 |
update_index_cmd = [self.bin_command, 'update-index'] |
121 |
update_index_cmd = [self.bin_command, 'update-index'] |
122 |
if quiet: # -q needs to go first |
122 |
# -q needs to go first |
123 |
update_index_cmd.append('-q') |
123 |
update_index_cmd.append('-q') |
124 |
update_index_cmd.append('--refresh') |
124 |
update_index_cmd.append('--refresh') |
125 |
|
125 |
|
126 |
exitcode = subprocess.call(update_index_cmd, |
126 |
exitcode = subprocess.call(update_index_cmd, |
127 |
- |
|
|