Skip to content

config/autoload/mail.local.php.dist is left untracked after composer install #552

Description

@dq042000

I cloned the repo, ran composer install, and git status was already dirty:

$ git status --short
?? config/autoload/mail.local.php.dist

The file comes from bin/composer-post-install-script.php, which copies the dot-mail template to both config/autoload/mail.local.php and config/autoload/mail.local.php.dist. The first one is covered by *.local.php in config/autoload/.gitignore, the second one isn't, so it stays in git status and is easy to commit by accident.

Should it be gitignored, or tracked like the other .dist files in that directory? Happy to send a PR either way.

Seen on 7.0 at 3b5d001.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions