Skip to content
Snippets Groups Projects
Commit ed9d13be authored by chrg's avatar chrg
Browse files

Disable pruning

parent 67ffcffb
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
echo "test" > $1
......@@ -147,7 +147,10 @@ def regit(
handler = BlobHandler(repo, is_relevant=is_relevant, transform=transformer)
log.debug("Starting handler")
with handler:
options = fr.FilteringOptions.parse_args([], error_on_empty=False)
options = fr.FilteringOptions.parse_args(
["--prune-empty", "never"],
error_on_empty=False,
)
filter = fr.RepoFilter(options, commit_callback=handler)
handler.filter = filter
with utils.chdir(repo.working_dir):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment