aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-08-03 12:30:17 -0400
committerFurkan Sahin <furkan-dev@proton.me>2024-08-03 12:30:17 -0400
commitd61afe77f040bd6a357816095a815a9fed505db4 (patch)
tree898df27da993a3288df930f2b18d9ec5276afc9a /.github
parent3537a8ae0e3c541b8a3c961830f8b5cbbb971f6d (diff)
build: avoid git repository discovery when determining version
When attempting to use Git to populate commit/branch information in a version string, it is possible through repository discovery that it uses Git information not relevant to project. For example, if repository content is extract into an interim build location when using an embedded build framework (e.g. Buildroot), the project will not have its Git repository to refer to. When it cannot find its repository, it will look into its parent folders and may find the Git repository of another project and use its branch/commit information. This commit provides an explicit path to the project's Git repository when consider commit/branch information. This will prevent any repository discovery from occurring. Signed-off-by: James Knight <james.d.knight@live.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions