Skip to content
Snippets Groups Projects
Commit 33cf8761 authored by Brad King's avatar Brad King
Browse files

Merge branch 'test-git-local-defaultBranch' into release-3.24

Merge-request: !8060
parents bf7ff592 baa85970
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment