mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
Run checkpatch against origin/master
The develop branch has been deleted. Remove references to it.
This commit is contained in:
1 parent
fa37922ca7
commit
a761e98e18
2 files changed
+2
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -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" \
|
||||
|
||||
Reference in new issue
Block a user