NetworkManager/contrib
Thomas Haller 6e0ede9d65
contrib: add "nm-code-format.sh -u" parameter
Reformatting the entire source tree takes quite long. For fast
development it's useful to only check the files that changes on the
current checkout.

For that there was already the "-F|--fast" option, but that only
compared the files that changed compared to HEAD^.

What actually would be useful is to check the files that changed on the
current branch, compared to some upstream commit. Add "-u|--upstream"
option to specify the upstream commit (usually "main").

As a special twist,

  ./contrib/scripts/nm-code-format.sh -u

is the same as

  ./contrib/scripts/nm-code-format.sh -u main
2022-09-21 10:22:32 +02:00
..
alpine contrib/packages: install pexpect 2022-06-30 10:20:44 +02:00
art/logo artwork: introduce NetworkManager stickers 2019-09-30 17:36:59 +02:00
debian contrib/packages: install pexpect 2022-06-30 10:20:44 +02:00
editors contrib: add emacs config for hacking on NM 2015-08-11 13:42:26 -04:00
fedora contrib: fix syntax error in "configure-for-system.sh" 2022-09-08 15:29:10 +02:00
scripts contrib: add "nm-code-format.sh -u" parameter 2022-09-21 10:22:32 +02:00