On some project/language, there are files (for example VisualStudio Project file, etc.) that you must commit to have a working repository.
However, those file are managed by the IDE your are using and none of the changes are made by hand.
I would like to either auto-collapse the file to not spend time on review for file I won't watch or being able to specify (either inside the repository in .gitea.yml
) or in settings inside gitea to list the files I want to ignore in those process (PR, Diff, etc...)
Right, this is a good idea. We could define some situations here.
I would NOT hide them because of securety conzerns - but then https://github.com/go-gitea/gitea/issues/8579 has to be there first
When I said "hide" I had in mind collapse like the ticket @6543 was mentioning.
When #8579 will be done, this feature can be easily implemented by auto-collapse some files.
I think we can put a file named .gitea/pr_collapse
which have a format similiar with .gitignore
to do that.
I think we can put a file named
.gitea/pr_collapse
which have a format similiar with.gitignore
to do that.
I've always wanted /vendor
files to auto-collapse. 馃憤
I would like to auto-collapse/hide/push-down diffs that have specific type of change (regexp?).
My use case is IDE generated changes to hundreds of files in each commit. These changes has to be included in the commits since they're checksums etc.
Most helpful comment
I think we can put a file named
.gitea/pr_collapse
which have a format similiar with.gitignore
to do that.