diff --git a/Makefile b/Makefile index cc75dcc66..e2fc06f11 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ lint-yaml: commitlint: REBASE ?= 0 commitlint: git fetch -v $(shell cut -d/ -f1 <<< "$(GIT_SINCE)") $(shell cut -d/ -f2- <<< "$(GIT_SINCE)") - @test $(REBASE) -eq 0 || git -c user.name=commitlint -c user.email=commitline@localhost rebase $(GIT_SINCE) + @test $(REBASE) -eq 0 || git -c user.name=commitlint -c user.email=commitline@localhost rebase FETCH_HEAD commitlint --from FETCH_HEAD .PHONY: containerized-test