269 | | Existing code should not be re-indented except in extreme cases, as this will make "diff" comparisons with older versions impossible. If indent is needed, do not check in any changes other than the indentation in the same commit! Do add the indent switches and any indent warning messages to the SVN log. Any change or fix mixed in with an indent is very hard to track making it hard for others to follow the change or fix any new bugs. For your convenience use the source:grass/trunk/tools/grass_indent.sh script. |
270 | | |
| 269 | |
| 270 | Existing code should not be re-indented as this will make "diff" comparisons with older versions impossible. In extreme cases, when run of `indent` tool is necessary, do not commit (check in) any changes other than the indentation in the same commit. Additionally, add the `indent` tool switches and any indent warning messages to the SVN commit message (SVN log). Any change or fix mixed in with an indentation is very hard to track making it hard for others to follow the change, fix any new bugs or track the origin of particular lines (`svn diff --ignore-space-change` is helpful in this case, but does not solve the problem). |
| 271 | |
| 272 | For your convenience use the [source:grass/trunk/tools/grass_indent.sh tools/grass_indent.sh] script available in GRASS source code. |