Skip to content

Commit c11e43a

Browse files
authored
Merge pull request #420 from daniel-sampliner/silence-default-branch-warning
Silence git noise
2 parents 3166381 + dc6812e commit c11e43a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/pre-commit.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ let
6464
ln -fs ${configFile} src/.pre-commit-config.yaml
6565
cd src
6666
rm -rf .git
67-
git init
67+
git init -q
6868
git add .
6969
git config --global user.email "[email protected]"
7070
git config --global user.name "Your Name"
71-
git commit -m "init"
71+
git commit -m "init" -q
7272
if [[ ${toString (compare install_stages [ "manual" ])} -eq 0 ]]
7373
then
7474
echo "Running: $ pre-commit run --hook-stage manual --all-files"

0 commit comments

Comments
 (0)