Merge pull request #1416 from Mindavi/bugfix/git-init-suppress-hint

nix-prefetch-git: set branch name to suppress hint from git
This commit is contained in:
Jörg Thalheim 2024-10-19 18:20:08 +02:00 committed by GitHub
commit e6b9f0dec7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,7 @@ fi
init_remote(){
local url=$1;
git init;
git init --initial-branch=trunk;
git remote add origin $url;
}