mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Adding commit range feature via 'commit-to' and 'commit-from' options
This commit is contained in:
1 parent
593edeae21
commit
a0f72a4e35
11 files changed
+250
-9
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ func runHelper(r *Repo) error {
|
||||
}
|
||||
|
||||
// Check if we are checking uncommitted files. This is the default behavior
|
||||
// for a "$gitleaks" command with no options set
|
||||
// for a "$ gitleaks" command with no options set
|
||||
if r.Manager.Opts.CheckUncommitted() {
|
||||
if err := r.AuditUncommitted(); err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user