Skip to content

Add .gitattributes: add exclude exports#1486

Merged
gennadigennadigennadi merged 3 commits into
4.xfrom
add-gitattributes
Aug 17, 2025
Merged

Add .gitattributes: add exclude exports#1486
gennadigennadigennadi merged 3 commits into
4.xfrom
add-gitattributes

Conversation

@gennadigennadigennadi

@gennadigennadigennadi gennadigennadigennadi commented Aug 2, 2025

Copy link
Copy Markdown
Collaborator

@dbrumann @patrickkusebauch does anyone know what ./deptrac/ast.yaml is for?

I could not find any reference.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a .gitattributes file to configure Git export exclusions for development-only files and directories. The purpose is to ensure that when the repository is exported (such as during package distribution), development tools, tests, and configuration files are excluded from the exported archive.

  • Excludes development directories like .deptrac, .github, tools, tests, docs, and docker
  • Excludes configuration files for development tools (linting, testing, documentation)
  • Sets PHP files to use the php diff driver for better diff display
Comments suppressed due to low confidence (1)

@patrickkusebauch

patrickkusebauch commented Aug 2, 2025

Copy link
Copy Markdown
Collaborator

Introduced in deptrac/deptrac-src@78bc016, but I also see no references to the file in the commit. But no, I have no idea what it is for.

@gennadigennadigennadi gennadigennadigennadi merged commit bd5c19d into 4.x Aug 17, 2025
18 checks passed
@gennadigennadigennadi gennadigennadigennadi deleted the add-gitattributes branch August 17, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants