[Github-comments] [geany/geany] Use relative paths for project session files if base directory is relative (PR #3021)

Jiří Techet notifications at xxxxx
Fri Nov 26 14:44:56 UTC 2021


>>It's compatible completely.

>Ok, well thats considered.

Well, after more looking at #3015 it's compatible in the sense that projects will be loaded and saved, but #3015 basically kills the possibility to move projects to other location without losing session files for that project so then this pull request becomes pointless. So I'm getting ready to be the evil guy who dislikes #3015 :-)

> not really in favour of majik things like changing behaviour depending on a path being relative or absolute, and

Neither am I but this is the most reliable indication relative paths should work. One could always add a configuration option but this is not a good candidate for user configuration as it isn't easy to explain users what implication their choice will have and I can imagine users setting e.g. relative paths and then be surprised by results.

>> it still has the issue of paths outside the project tree accessing unknown files if its moved to another machine, eg via git.

> So no ..s needed

Yeah, I learned from my past mistakes :-).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3021#issuecomment-980032113
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211126/adcac0df/attachment-0001.htm>


More information about the Github-comments mailing list