Feature Request Currently we have some gen/ files ...
# ideas
g
Feature Request Currently we have some gen/ files that we use throughout our codebase that we don't include in the
.gitignore
. We were wondering if it would be possible to create a
.graphiteignore
file that could ignore those files in the
git diff
view on Graphite.
p
Thanks Gilad! That'd definitely be handy — capturing this as a feature request for the team to consider.
j
Have you considered marking them as generated? https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github We do respect this in our diff view (they start collapsed)
g
Yea that will probably work well enough for our use case
Appreciate it Jacob
The only thing we are pretty concerned about is the calculation on line count regarding
.gitattributes
. We internally like to keep our PRs below a certain line count and gen files make this quite difficult to track
We also sometimes have a lot of collapsed files which makes it feel a bit cumbersome