[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ptp-user] Synchronized C++ Project Builds Delete Files in .gitignore
|
I’m attempting to use PTP on a remote C++ project. I’m close to having everything working, but one stumbling block I’m running into is that when I do a build on the remote host (or a custom make target), files that are in the project repository’s .gitignore are deleted from the remote sync directory. I’ve attempted to exclude .gitignore as a sync filter. That does prevent it from getting sync’d to the remote host, but still results in ignored files getting deleted once a sync occurs. If I manually add an “include” filter to the files in question, I can get things working, but run into frequent conflicts if switching between remote and local host.
The project does perform and out-of-source build, but that’s in <project_root>/build, which is excluded in our projects .gitignore (along with a number of other generated files). What is happening now if we do a remote build, everything in our git exclusions get blown away; basically negating the build on the remote system. Is there any way to fix that short of adding include filters to negate every build output and cursing each time there’s a sync conflict?
Thanks,
Josh