]> arthur.barton.de Git - bup.git/commitdiff
bup fsck: remove "fsck:" prefix in messages
authorAlexander Barton <alex@barton.de>
Thu, 1 Jan 2015 16:19:38 +0000 (17:19 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 1 Jan 2015 16:19:38 +0000 (17:19 +0100)
cmd/fsck-cmd.py

index cf982aa3e49fd63f07f2fc3e1116a3ee22979866..825a37c77fd4c0cc1f41c7db1278ac31ce5734de 100755 (executable)
@@ -30,7 +30,7 @@ def par2_setup():
                              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
 
@@ -151,7 +151,7 @@ if opt.disable_par2:
 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
@@ -173,7 +173,7 @@ for name in extra:
     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)))