Skip to content

Commit

Permalink
Merge pull request opencontainers#181 from jonboulle/master
Browse files Browse the repository at this point in the history
.tools: make GetFetchHeadCommit do what it says
  • Loading branch information
vbatts committed Sep 12, 2015
2 parents b973245 + bbb0f00 commit dca1dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tools/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func GitCommits(commitrange string) ([]CommitEntry, error) {

// GitFetchHeadCommit returns the hash of FETCH_HEAD
func GitFetchHeadCommit() (string, error) {
output, err := exec.Command("git", "rev-parse", "--verify", "HEAD").Output()
output, err := exec.Command("git", "rev-parse", "--verify", "FETCH_HEAD").Output()
if err != nil {
return "", err
}
Expand Down

0 comments on commit dca1dfd

Please sign in to comment.