Skip to content

Commit

Permalink
Make sure .git/info/exclude exists
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish committed Oct 19, 2023
1 parent 697acdd commit 6792ab5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ post_install_actions:
- cp core-dev/gitignore ../vendor/.gitignore
- cp core-dev/gitignore ../sites/simpletest/.gitignore
- cp core-dev/gitignore ../sites/default/files/.gitignore
- touch .git/info/exclude
- |
if ! grep -q "\/sites\/default\/settings.php" ../.git/info/exclude; then
echo "/sites/default/settings.php" >> ../.git/info/exclude
Expand Down

0 comments on commit 6792ab5

Please sign in to comment.