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.
2 parents 91e5ebf + 3c71df2 commit 60cb871Copy full SHA for 60cb871
git/commits.go
@@ -15,7 +15,7 @@ import (
15
// If commitrange is a single commit, all ancestor commits up through the hash provided.
16
// If commitrange is an empty commit range, then nil is returned.
17
func Commits(commitrange string) ([]CommitEntry, error) {
18
- cmdArgs := []string{"git", "--no-pager", "log", `--pretty=format:%H`, commitrange}
+ cmdArgs := []string{"git", "rev-list", commitrange}
19
if debug() {
20
logrus.Infof("[git] cmd: %q", strings.Join(cmdArgs, " "))
21
}
0 commit comments