Mutagen: ignore paths specified by gitattributes export-ignore #3936
brandonkelly
started this conversation in
Ideas
Replies: 1 comment
-
I'm not sure it's a reasonable assumption that mutagen syncing should be determined by git settings. You could easily make a script that did this for your situation though, and updated the mutagen.yml. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be really cool if DDEV could automatically configure Mutagen to ignore paths specified to be excluded by
.gitattributes
files within the project, via export-ignore directives.I’m imagining this would be opt-in, via a new
sync.defaults.ignore.gitattributes
setting:With that enabled, if a project has a
lib/x/.gitattributes
file with the following:/src/web/assets/**/src export-ignore
DDEV could then see that file, parse it for
export-ignore
lines, and add the following to Mutagen’ssync.defaults.ignore.paths
array:lib/x/src/web/assets/**/src
Beta Was this translation helpful? Give feedback.
All reactions