Grid icon indicating copy to clipboard operation
Grid copied to clipboard

git commit hash version extraction during build does not work when build dir is external

Open kostrzewa opened this issue 4 years ago • 0 comments

Tagging of the build with branch and git commit hash information is extremely useful. However, AFAIU, the current solution does not work if the build directory is not a subdirectory of the source code directory.

$ make
[...]
fatal: Not a git repository (or any parent up to mount point /p/project)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

kostrzewa avatar Jun 27 '20 15:06 kostrzewa