aboutsummaryrefslogtreecommitdiffstats
path: root/grokmirror
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2018-08-22 10:35:13 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2018-08-22 10:35:13 -0400
commit5f26005eb28ae9ec02fbb111527b094e582803bf (patch)
treeb4c798829d71a3eff6e738c6712bacac7285b6dd /grokmirror
parentcea000545218d94f8174ce46273178f5b41b028d (diff)
downloadgrokmirror-5f26005eb28ae9ec02fbb111527b094e582803bf.tar.gz
Add --no-reflogs to fsck
This causes false-positives if the repository is updated in the middle of a fsck session, so disable reflog fsck. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'grokmirror')
-rwxr-xr-xgrokmirror/fsck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grokmirror/fsck.py b/grokmirror/fsck.py
index ee1ca58..02e1281 100755
--- a/grokmirror/fsck.py
+++ b/grokmirror/fsck.py
@@ -198,7 +198,7 @@ def run_git_repack(fullpath, config, level=1):
def run_git_fsck(fullpath, config, conn_only=False):
- args = ['fsck', '--no-dangling']
+ args = ['fsck', '--no-dangling', '--no-reflogs']
if conn_only:
args.append('--connectivity-only')
logger.info(' fsck : running with --connectivity-only')