mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-03 12:21:23 +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.