Commit a66aa0a6 authored by Dan Poltawski's avatar Dan Poltawski Committed by Gerrit Code Review
Browse files

Merge "Remove checksignoff from Makefile"

parents 7f60878d 63519119
......@@ -13,18 +13,7 @@ imageoptim:
minaccept:
@echo "Running minimum acceptance test..."; find htdocs/ -type f -name "*.php" | xargs -n 1 -P 2 php -l > /dev/null && echo All good!
checksignoff:
@branch=`git status | head -1 | sed 's/.* On branch //'`; \
commits=`git log origin/$$branch.. | grep "^commit" | wc -l`; \
signed=`git log origin/$$branch.. | grep "Signed-off-by: " | wc -l`; \
if test "$$commits" -ne "$$signed"; then \
echo "$$(($$commits - $$signed)) commit(s) on $$branch not signed off ($$signed/$$commits)"; \
false; \
else \
echo "All commits signed!"; \
fi
push: minaccept checksignoff
push: minaccept
if test -z "$(TAG)"; then \
git push gerrit HEAD:refs/for/master; \
else \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment