Skip to content

Commit

Permalink
[YUNIKORN-2098] git show ref
Browse files Browse the repository at this point in the history
  • Loading branch information
doupache committed Nov 25, 2023
1 parent 3c05880 commit 0ed59b1
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 @@ -235,6 +235,7 @@ $(SPARK_SUBMIT_CMD):
.PHONY: lint
lint: $(GOLANGCI_LINT_BIN)
@echo "running golangci-lint"
@git show-ref
@git symbolic-ref -q HEAD && REV="origin/HEAD" || REV="HEAD^" ; \
headSHA=$$(git rev-parse --short=12 $${REV}) ; \
echo "checking against commit sha $${headSHA}" ; \
Expand Down

0 comments on commit 0ed59b1

Please sign in to comment.