mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
Merge branch 'style-check-fix' into 'main'
ci: Fix printing info message at end of run-style-check-diff.sh See merge request GNOME/glib!3735
This commit is contained in:
commit
438f59b071
@ -2,17 +2,15 @@
|
||||
|
||||
set -e
|
||||
|
||||
ancestor_horizon=28 # days (4 weeks)
|
||||
|
||||
# Wrap everything in a subshell so we can propagate the exit status.
|
||||
exit_status=0
|
||||
(
|
||||
|
||||
source .gitlab-ci/search-common-ancestor.sh
|
||||
|
||||
git diff -U0 --no-color "${newest_common_ancestor_sha}" | .gitlab-ci/clang-format-diff.py -binary "clang-format-14" -p1
|
||||
|
||||
)
|
||||
exit_status=$?
|
||||
) || exit_status=$?
|
||||
|
||||
# The style check is not infallible. The clang-format configuration cannot
|
||||
# perfectly describe GLib’s coding style: in particular, it cannot align
|
||||
|
Loading…
Reference in New Issue
Block a user