1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2025-07-26 17:00:29 +00:00

Merge pull request #17 from wking/test-merges-again

Test merges again and return to using TRAVIS_COMMIT_RANGE
This commit is contained in:
Vincent Batts 2017-03-21 17:58:56 -04:00 committed by GitHub
commit 4cee76b1df
3 changed files with 4 additions and 3 deletions

View file

@ -12,7 +12,7 @@ import (
// If commitrange is a git still range 12345...54321, then it will be isolated set of commits.
// If commitrange is a single commit, all ancestor commits up through the hash provided.
func Commits(commitrange string) ([]CommitEntry, error) {
cmdArgs := []string{"git", "--no-pager", "log", `--no-merges`, `--pretty=format:%H`, commitrange}
cmdArgs := []string{"git", "--no-pager", "log", `--pretty=format:%H`, commitrange}
if debug() {
logrus.Infof("[git] cmd: %q", strings.Join(cmdArgs, " "))
}