Sean Paul | 592c98a | 2018-09-04 15:30:29 -0400 | [diff] [blame^] | 1 | #! /usr/bin/env bash |
2 | |||||
3 | git fetch https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer.git | ||||
4 | |||||
5 | git diff -U0 --no-color FETCH_HEAD...HEAD -- | clang-format-diff-5.0 -p 1 -style=file > format-fixup.patch | ||||
6 | if [ -s format-fixup.patch ]; then | ||||
7 | cat format-fixup.patch | ||||
8 | exit 1 | ||||
9 | fi |