diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-08-27 13:11:02 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-08-27 13:11:02 -0400 |
commit | a28e9a1d1e6e69fdedbd750414704f697dc6b900 (patch) | |
tree | 8bbd0e566a8f236d5689427381332c9c45be36d3 | |
parent | 0917f7e980a248b7e7b04ef4d7ded72cf803b4b0 (diff) | |
download | grokmirror-a28e9a1d1e6e69fdedbd750414704f697dc6b900.tar.gz |
Don't force commitgraph to false
Let global settings take care of it.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | grokmirror/fsck.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/grokmirror/fsck.py b/grokmirror/fsck.py index 3b843d9..74bec96 100755 --- a/grokmirror/fsck.py +++ b/grokmirror/fsck.py @@ -237,9 +237,6 @@ def run_git_repack(fullpath, config, level=1, prune=True): if gen_commitgraph and config['fsck'].get('commitgraph', 'yes') == 'yes': grokmirror.set_git_config(fullpath, 'core.commitgraph', 'true') run_git_commit_graph(fullpath) - else: - # make sure core.commitgraph is off for this repo - grokmirror.set_git_config(fullpath, 'core.commitgraph', 'false') # repacking refs requires a separate command, so run it now args = ['pack-refs'] |