Dear all,

Most of the C and C++ code was indented using our
./utils/grass_indent_ALL.sh script at the FOSS4G 2022 sprint. This will
help to indent code for PRs and with the transition to clang-format.

Directories with files which indent reports issues for were not updated,
because more changes are needed in the code.

This may create conflicts in some existing PR which modify C code. If you
have a conflict related to this (old PR may have other conflicts too), you
can follow this procedure:

Indent your code:

./utils/grass_indent.sh db/drivers/mysql/create_table.c

Commit the change:

git commit -m "Indent PR code" db/drivers/mysql/create_table.c

Update upstream/main branch:

git fetch upstream

Merge into your branch upstream/main:

git merge --strategy=recursive --strategy-option=ours upstream/main

Let me know if you have any questions,
Vaclav
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to