Skip to content

Commit

Permalink
Merge pull request #420 from daniel-sampliner/silence-default-branch-…
Browse files Browse the repository at this point in the history
…warning

Silence git noise
  • Loading branch information
domenkozar authored Mar 30, 2024
2 parents 3166381 + dc6812e commit c11e43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ let
ln -fs ${configFile} src/.pre-commit-config.yaml
cd src
rm -rf .git
git init
git init -q
git add .
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git commit -m "init"
git commit -m "init" -q
if [[ ${toString (compare install_stages [ "manual" ])} -eq 0 ]]
then
echo "Running: $ pre-commit run --hook-stage manual --all-files"
Expand Down

0 comments on commit c11e43a

Please sign in to comment.