Greetings!
Someone once said that they're using a smart way to identify the lines they add or change when they modify files, so that it gets easier when the time come to upgrade to a new version, without losing the previously added mods. But I can't remember who or where was that said. Its something like adding a typical comment before those lines or something.
I do hope he reads this and let us know the details please.
Many thanks.
Found this looking for something else.
Easy way to do it is as the following:
/* Custom code as follows */
The changed code
/* Custom code as above */
I also put a comment near the top of the file to note that the file has been changed.
lunabyte
Member
Posted 19 years ago #
I do the same, plus I keep my own changelog as well and note the filename and line(s) where I made the change.
I also keep a fresh copy of the modded file as well.