Skip to content

Commit 60cb871

Browse files
authored
Merge pull request #47 from cevich/fix_gpg_interference
Consider only commit IDs when listing range
2 parents 91e5ebf + 3c71df2 commit 60cb871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/commits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// If commitrange is a single commit, all ancestor commits up through the hash provided.
1616
// If commitrange is an empty commit range, then nil is returned.
1717
func Commits(commitrange string) ([]CommitEntry, error) {
18-
cmdArgs := []string{"git", "--no-pager", "log", `--pretty=format:%H`, commitrange}
18+
cmdArgs := []string{"git", "rev-list", commitrange}
1919
if debug() {
2020
logrus.Infof("[git] cmd: %q", strings.Join(cmdArgs, " "))
2121
}

0 commit comments

Comments
 (0)