dhis2-devs-core team mailing list archive
-
dhis2-devs-core team
-
Mailing list archive
-
Message #00619
tip of the day: avoid excessive reformatting
Hi devs,
a small tip: When committing to Launchpad, please avoid reformatting entire
javascript and Java source files, e.g. because you use another IDE or
formatter.
The reasons for this are:
1. It is very hard to read the commit diff and see what is going on.
2. It becomes impossible to back-port fixes to later versions - when one
makes additional fixes after such commits, then backports to earlier
versions will fail and give conflicts since the files are out of sync.
So before committing, run status/diff and make sure you only commit the
intended mods to the file.
--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>