meson: version.py: fix version extraction for git worktree dirs
For git worktree directories .git is not a directory but a file that points to the real .git dir.
Fixes #4 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
For git worktree directories .git is not a directory but a file that points to the real .git dir.
Fixes #4 (closed)