Run checkpatch against origin/master

The develop branch has been deleted. Remove references to it.
This commit is contained in:
Antonio Niño Díaz
2019-05-10 00:15:24 +01:00
parent fa37922ca7
commit a761e98e18
2 changed files with 2 additions and 5 deletions

View File

@@ -26,9 +26,6 @@ echo "Running checkpatch.pl..."
fname=$(mktemp)
rc=0
git remote set-branches --add origin develop
git fetch
make CHECKPATCH=checkpatchdir/checkpatch.pl checkpatch > $fname
cat $fname

View File

@@ -169,11 +169,11 @@ checkcodebase:
# Target used to check the coding style of the patches from the upstream branch
# to the HEAD. Runs checkpatch once for each commit between the current HEAD and
# the first common commit between the HEAD and origin/develop. '.y' and '.l'
# the first common commit between the HEAD and origin/master. '.y' and '.l'
# files aren't checked, unfortunately...
checkpatch:
$Qeval COMMON_COMMIT=$$(git merge-base HEAD origin/develop); \
$Qeval COMMON_COMMIT=$$(git merge-base HEAD origin/master); \
for commit in `git rev-list $$COMMON_COMMIT..HEAD`; do \
echo "[*] Analyzing commit '$$commit'"; \
git format-patch --stdout "$$commit~..$$commit" \