mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 23:50:08 +01:00
Calling `clang-format` with no files means to read
stdin, it thus hangs:
$ ./contrib/scripts/nm-code-format.sh .git
Also, the following does not work:
$ ./contrib/scripts/nm-code-format.sh src/platform/
hangs. Seems there is a bug in `git ls-files` to not list all files:
podman run -ti alpine:latest \
sh -c '
apk add git &&
git clone https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git &&
cd NetworkManager &&
git checkout -B tmp
|
||
|---|---|---|
| .. | ||
| btmodem.pl | ||
| checkpatch-feature-branch.sh | ||
| checkpatch-git-post-commit-hook | ||
| checkpatch.pl | ||
| code-style-git-post-commit-hook | ||
| find-backports | ||
| modemu.pl | ||
| nm-ci-install-valgrind-in-ubuntu1604.sh | ||
| nm-ci-patch-gtkdoc.sh | ||
| nm-ci-run.sh | ||
| nm-code-format-container.sh | ||
| nm-code-format.sh | ||
| nm-copr-build-nm-git-bundle.sh | ||
| nm-copr-build.sh | ||
| nm-import-openconnect | ||
| nm-import-openvpn | ||
| nm-import-vpnc | ||
| NM-log | ||
| test-macsec | ||