stdout=nullf, stderr=nullf, stdin=nullf)
rv = p.wait()
except OSError:
- log('fsck: Warning: "par2" not found; disabling recovery features!')
+ log('Warning: "par2" not found; disabling recovery features!')
else:
par2_ok = 1
git.check_repo_or_die()
if not extra:
- debug('fsck: No filenames given: checking all packs.')
+ debug('No filenames given: checking all packs.')
extra = glob.glob(git.repo('objects/pack/*.pack'))
code = 0
if par2_exists and os.stat(base + '.par2').st_size == 0:
par2_exists = 0
sys.stdout.flush()
- debug('fsck: Checking %s (%s) ...'
+ debug('Checking %s (%s) ...'
% (last, par2_ok and par2_exists and 'par2' or 'git'))
if not opt.verbose:
progress_update('fsck (%d/%d) ...' % (count + 1, len(extra)))