Prepare: silence git init warning about master branch (#796)

Co-authored-by: gituser <nore@nop.np>
This commit is contained in:
kylon
2023-08-31 17:00:20 +02:00
committed by GitHub
parent 884be6016c
commit 322a6ecf1f

View File

@@ -429,7 +429,7 @@ _setup_kernel_work_folder() {
msg2 "First initialization of the linux source code git folder"
mkdir -p "$_kernel_source_folder_abs"
cd "$_kernel_source_folder_abs"
git init --bare
git -c init.defaultBranch=master init --bare
fi
cd "$_kernel_source_folder_abs"