mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
removing --simplify-merges and --show-pulls (#707)
This commit is contained in:
1 parent
f15b4e408b
commit
5c0eecadbb
1 file changed
+1
-1
+1
-1
@@ -21,7 +21,7 @@ func GitLog(source string, logOpts string) (<-chan *gitdiff.File, error) {
|
|||||||
args = append(args, strings.Split(logOpts, " ")...)
|
args = append(args, strings.Split(logOpts, " ")...)
|
||||||
cmd = exec.Command("git", args...)
|
cmd = exec.Command("git", args...)
|
||||||
} else {
|
} else {
|
||||||
cmd = exec.Command("git", "-C", sourceClean, "log", "-p", "-U0", "--full-history", "--simplify-merges", "--show-pulls", "--all")
|
cmd = exec.Command("git", "-C", sourceClean, "log", "-p", "-U0", "--full-history", "--show-pulls", "--all")
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debug().Msgf("executing: %s", cmd.String())
|
log.Debug().Msgf("executing: %s", cmd.String())
|
||||||
|
|||||||
Reference in new issue
Block a user