This commit is contained in:
2022-01-30 20:47:22 +01:00
parent 631dade746
commit f640b45acf
3 changed files with 6 additions and 2 deletions

4
find_git_commit.py Normal file → Executable file
View File

@@ -1,3 +1,5 @@
#!/usr/bin/env python3
import argparse
import re
import os
@@ -180,4 +182,4 @@ if __name__ == "__main__":
run(valid_files, args.dir, git_dir)
if is_remote_git and not args.nodelete:
shutil.rmtree(git_dir)
shutil.rmtree(git_dir)