Skip to content

Commit bbb0f00

Browse files
committed
.tools: make GetFetchHeadCommit do what it says
Signed-off-by: Jonathan Boulle <[email protected]>
1 parent b973245 commit bbb0f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.tools/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func GitCommits(commitrange string) ([]CommitEntry, error) {
210210

211211
// GitFetchHeadCommit returns the hash of FETCH_HEAD
212212
func GitFetchHeadCommit() (string, error) {
213-
output, err := exec.Command("git", "rev-parse", "--verify", "HEAD").Output()
213+
output, err := exec.Command("git", "rev-parse", "--verify", "FETCH_HEAD").Output()
214214
if err != nil {
215215
return "", err
216216
}

0 commit comments

Comments
 (0)