Skip to content

Commit

Permalink
Merge pull request #1416 from Mindavi/bugfix/git-init-suppress-hint
Browse files Browse the repository at this point in the history
nix-prefetch-git: set branch name to suppress hint from git
  • Loading branch information
Mic92 authored Oct 19, 2024
2 parents 7289959 + 8a54924 commit e6b9f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/nix-prefetch-git
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fi

init_remote(){
local url=$1;
git init;
git init --initial-branch=trunk;
git remote add origin $url;
}

Expand Down

0 comments on commit e6b9f0d

Please sign in to comment.