Well, the full thing is:
https://github.com/geany/geany/blob/2509e21526d36034f5251381a76555e7300fbfc0/meson.build#L168-L174

So it's assuming that if the git program is found, geany itself is building from git. But this isn't a necessarily safe assumption... you can change that to:

if git.found() and fs.exists('.git')

Which guarantees that geany itself is a git repository.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3424/1457460221@github.com>