[GRASS-git] [OSGeo/grass] b37c51: utils: fix clang-format version check (#3186)

Nicklas Larsson noreply at github.com
Wed Oct 4 14:28:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: b37c51858d6b5a4a33fdaf9995895414570c9a10
      https://github.com/OSGeo/grass/commit/b37c51858d6b5a4a33fdaf9995895414570c9a10
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M utils/grass_clang_format.sh

  Log Message:
  -----------
  utils: fix clang-format version check (#3186)

- Adopt to the fact the result of `clang-format --version` may look slightly different
  on various platforms.
- Make sure 'clang-format' version 15 is used (v 16+ results in unwanted changes)

Closes https://github.com/OSGeo/grass/issues/3183




More information about the grass-commit mailing list