<p></p>
<p>I don't think its as simple as first thoughts indicate, project files don't get stored in the tree by default, they default to <code>~/projects</code>.</p>
<p>My projects are stored on a raid array mounted at <code>/data</code> so paths relative to the project file would be something like <code>../../../../data/what/ever/hello_world.cpp</code> which won't travel either.  You would need to be sure all paths were below the project file.</p>
<p>As you alluded to, Windows could be trickier, I'm not sure <code>..</code> will go from <code>c:</code> to <code>d:</code> nor between two SMB mounted systems <code>//a/</code> and <code>//b/</code>.</p>
<p>Finally, as I said, projects are basically session files, changes in which files are open get stored in the project file.  So if you store it in git it is likely to get stored on every commit or you will likely get "changed but not committed" messages when you do some git things.</p>
<p>There have been various discussions about separating the settings and the session so its cleaner to store project settings in VCS, but no flexible, good, simple, efficient, and easy solution was found.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2483#issuecomment-619358816">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3N3GA4MMH5PSHTNW3ROK423ANCNFSM4MQVB6WQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5MJ4AVC7LFNFKCTC3ROK423A5CNFSM4MQVB6W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETVKUYA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2483#issuecomment-619358816",
"url": "https://github.com/geany/geany/issues/2483#issuecomment-619358816",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>