How to deal with files that are relevant to version control, but that frequently change in irrelevant ways?
Posted
by
Jens Mühlenhoff
on Stack Overflow
See other posts from Stack Overflow
or by Jens Mühlenhoff
Published on 2011-11-18T09:46:41Z
Indexed on
2011/11/18
9:50 UTC
Read the original article
Hit count: 234
.dproj
files are essential for Delphi projects, so they have to be under version control.
These files are controlled by the IDE and also contain some information that is frequently changed, but totally irrelevant for version control.
For example: I change the start parameters of the application frequently (several times a day), but don't want to accidently commit the project file if only the part dealing with the start parameters has changed.
So how to deal with this situation?
A clean solution would be to take the file apart, but that isn't possible with the Delphi IDE AFAIK.
Can you ignore a specific part of a file?
We're using Subversion at the moment, but may migrate to Git soon.
© Stack Overflow or respective owner