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:
```meson
if git.found() and fs.exists('.git')
```

Which guarantees that geany itself is a git repository.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3424#issuecomment-1457460221
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3424/[email protected]>

Reply via email to