diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2018-08-22 10:35:13 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2018-08-22 10:35:13 -0400 |
commit | 5f26005eb28ae9ec02fbb111527b094e582803bf (patch) | |
tree | b4c798829d71a3eff6e738c6712bacac7285b6dd /grokmirror | |
parent | cea000545218d94f8174ce46273178f5b41b028d (diff) | |
download | grokmirror-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-x | grokmirror/fsck.py | 2 |
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') |