diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-07-16 11:31:54 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-07-16 11:31:54 -0400 |
commit | 166faa1a6ac96330dcfe34a33d612d4d9e69cf60 (patch) | |
tree | a239556b831069bd269025e425ab358c6efe6d6d | |
parent | c928c78b53cf451f22161d033ff78e6dc262097c (diff) | |
download | grokmirror-166faa1a6ac96330dcfe34a33d612d4d9e69cf60.tar.gz |
Don't repack unless we're doing objstore
There's no need to repack on initial clone, unless we're fetching into
objstore.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | grokmirror/pull.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grokmirror/pull.py b/grokmirror/pull.py index d45418f..53f10ee 100755 --- a/grokmirror/pull.py +++ b/grokmirror/pull.py @@ -319,10 +319,10 @@ def pull_worker(config, q_pull, q_spa, q_done): else: # We lazy-fetch in the spa spa_actions.append('objstore') + spa_actions.append('repack') if my_fp is None: # This was the initial clone, so pack all refs - spa_actions.append('repack') spa_actions.append('packrefs-all') if not grokmirror.is_precious(fullpath): |