Skip to content

Commit

Permalink
echo REV
Browse files Browse the repository at this point in the history
  • Loading branch information
doupache committed Nov 1, 2023
1 parent 1ed7f74 commit aba9a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ lint: $(GOLANGCI_LINT_BIN)
@git symbolic-ref -q HEAD && REV="origin/HEAD"; \
git rev-parse $${REV} || REV="HEAD^"; \
headSHA=$$(git rev-parse --short=12 $${REV}) ; \
echo "REV is $${REV}" ; \
echo "checking against commit sha $${headSHA}" ; \
"${GOLANGCI_LINT_BIN}" run --new-from-rev=$${headSHA}

Expand Down

0 comments on commit aba9a4b

Please sign in to comment.