mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
This change checks if the current source directory is a git repository. If this is not checked the git command picks the commit hash from parent directory. e.g. when tarball is extracted in a packaging repository.