NetworkManager/contrib
Thomas Haller 9bef4ece92
contrib: improve nm-code-format.sh script
- accept directory names in the command line. In that case,
  still honor the excluded files. That is a major improvement
  for me, because I usually only want to reformat a directory
  that I know has changed and it is fast to only process some
  directories.

- pass all files at once to clang-format. For me that gives
  a significant speed improvement (about 3 times faster), although
  clang-format is only single threaded. Possibly clang-format could
  even be faster by checking files in parallel.
  In case of a style error, the script still falls back to
  iterate over all files to find the first bad file and print
  the full diff. But that is considered an unusual case.

- make it correctly work from calling it from a subdirectory.
  In that case, we only check files inside that directory --
  but still correctly honor the excluded files.
2021-01-13 12:57:48 +01:00
..
alpine gitlab-ci: install missing packages on Alpine Linux 2020-12-23 10:48:26 +01:00
art/logo artwork: introduce NetworkManager stickers 2019-09-30 17:36:59 +02:00
debian contrib: install "udev" package with "debian/REQUIRED_PACKAGES" 2020-11-10 13:51:29 +01:00
editors contrib: add emacs config for hacking on NM 2015-08-11 13:42:26 -04:00
fedora man: add man 8 nm-cloud-setup 2020-12-11 17:36:38 +01:00
scripts contrib: improve nm-code-format.sh script 2021-01-13 12:57:48 +01:00