We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23edf1 commit ca82522Copy full SHA for ca82522
git/commits.go
@@ -12,7 +12,7 @@ import (
12
// If commitrange is a git still range 12345...54321, then it will be isolated set of commits.
13
// If commitrange is a single commit, all ancestor commits up through the hash provided.
14
func Commits(commitrange string) ([]CommitEntry, error) {
15
- cmdArgs := []string{"git", "log", `--pretty=format:%H`, commitrange}
+ cmdArgs := []string{"git", "--no-pager", "log", `--no-merges`, `--pretty=format:%H`, commitrange}
16
if debug() {
17
logrus.Infof("[git] cmd: %q", strings.Join(cmdArgs, " "))
18
}
0 commit comments