diff options
author | Antonin Delpeuch <antonin@delpeuch.eu> | 2023-09-24 10:29:05 +0200 |
---|---|---|
committer | Antonin Delpeuch <antonin@delpeuch.eu> | 2023-09-24 10:29:05 +0200 |
commit | b0d5a8dcbc033bab0a97383b2082e09ccf698dd7 (patch) | |
tree | 64f4a27d45553fc977a621b4f356134f585d17ba /git_deps/cli.py | |
parent | 70fdff7898416dfa26999194c387abdd17e8acb8 (diff) | |
download | git-deps-b0d5a8dcbc033bab0a97383b2082e09ccf698dd7.tar.gz |
Only use pygit2's blame via opt-in
This can be reconsidered if pygit2's blame algorithm improves.
The option can still be useful if the 'git' command is not available
on the system.
Diffstat (limited to 'git_deps/cli.py')
-rwxr-xr-x | git_deps/cli.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git_deps/cli.py b/git_deps/cli.py index 34a45e1..701b004 100755 --- a/git_deps/cli.py +++ b/git_deps/cli.py @@ -75,6 +75,8 @@ def parse_args(): '[%(default)s]') parser.add_argument('-d', '--debug', dest='debug', action='store_true', help='Show debugging') + parser.add_argument('--pygit2-blame', dest='pygit2_blame', action='store_true', + help="Use pygit2's blame algorithm (slower than git's)") options, args = parser.parse_known_args() |