From 01f1614f24ee4623319bf3ca5ee6601e8421d6eb Mon Sep 17 00:00:00 2001 From: Andreas Gnau <andreas.gnau@iopsys.eu> Date: Mon, 11 Jan 2021 12:33:15 +0100 Subject: [PATCH] bcmkernel: bcm_git: Remove README file from initial commit The README.md file added by the script only has dummy placeholder text. Remove it all together, because a file with no content is worse than no file at all. --- bcmkernel/scripts/bcm_git.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bcmkernel/scripts/bcm_git.sh b/bcmkernel/scripts/bcm_git.sh index e4504d0..d47d442 100755 --- a/bcmkernel/scripts/bcm_git.sh +++ b/bcmkernel/scripts/bcm_git.sh @@ -48,10 +48,8 @@ create_new_repo () ( cd_repo $repo git init - echo "Master branch not used" > readme.md - git add readme.md - git commit -m "created repo" - git branch broadcom + git checkout -b broadcom + git commit --allow-empty -m "Initial (empty) commit" ) echo "-------------------------------------------------------------------------------" } @@ -128,7 +126,7 @@ import_module() # prep repo. clean out all old files git -C ${repo} checkout broadcom - git -C ${repo} rm -rq . + git -C ${repo} rm --ignore-unmatch -rq . ;; *) # for all addon-modules, branch off from data_full_release tag -- GitLab