-
Notifications
You must be signed in to change notification settings - Fork 515
Closed
Labels
good first issueThe issue can be tackled by someone who has little to no knowledge about the project.The issue can be tackled by someone who has little to no knowledge about the project.help wantedIndicates that we would like someone that’s not a maintainer to work on the issue.Indicates that we would like someone that’s not a maintainer to work on the issue.
Description
Git version before 1.8.5 does not support -C <path>
option.
When running detect-secrets with pre-1.8.5 git version, _get_git_tracked_files
would return None
since the exception is silently ignored. This causes non of the tracked files been scanned.
git help on 1.8.3
$ git help
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
KevinHockKevinHockKevinHock
Metadata
Metadata
Assignees
Labels
good first issueThe issue can be tackled by someone who has little to no knowledge about the project.The issue can be tackled by someone who has little to no knowledge about the project.help wantedIndicates that we would like someone that’s not a maintainer to work on the issue.Indicates that we would like someone that’s not a maintainer to work on the issue.