mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 23:00:07 +01:00
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 |
||
|---|---|---|
| .. | ||
| alpine | ||
| art/logo | ||
| debian | ||
| editors | ||
| fedora | ||
| scripts | ||