mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 13:10:17 -06:00
Merge branch 'test-git-local-defaultBranch' into release-3.24
Merge-request: !8060
This commit is contained in:
@@ -34,7 +34,7 @@ endif()
|
||||
|
||||
# Adapt to the system default branch name.
|
||||
execute_process(
|
||||
COMMAND ${GIT} config --get init.defaultBranch
|
||||
COMMAND ${GIT} --git-dir= config --get init.defaultBranch
|
||||
RESULT_VARIABLE defaultBranchFailed
|
||||
OUTPUT_VARIABLE defaultBranch
|
||||
ERROR_VARIABLE defaultBranchError
|
||||
|
||||
Reference in New Issue
Block a user