blob 86648b80f8af7c5d70a7814fa40ea2336040a1e4 366 bytes (raw)
name: devel/check-commit # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
| | # This script is mainly intended to be used by the check-series script
# but you are welcome to use it as a standalone tool. It takes no
# parameters and operates on the latest git commit (HEAD).
set -e
make test
for file in $(git diff --name-only HEAD^ | grep '[.]\(c\|h\|cc\|hh\)'); do
uncrustify --replace -c devel/uncrustify.cfg $file
done
git diff --quiet
|
debug log:
solving 86648b8 ...
found 86648b8 in https://yhetil.org/notmuch/1356356853-25746-1-git-send-email-david@tethera.net/
applying [1/1] https://yhetil.org/notmuch/1356356853-25746-1-git-send-email-david@tethera.net/
diff --git a/devel/check-commit b/devel/check-commit
new file mode 100755
index 0000000..86648b8
Checking patch devel/check-commit...
Applied patch devel/check-commit cleanly.
index at:
100755 86648b80f8af7c5d70a7814fa40ea2336040a1e4 devel/check-commit
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).