Modify ↓
Opened 5 years ago
Last modified 16 months ago
#6638 new enhancement
Allow file exclusions in diffs
| Reported by: | anonymous@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | next-major-releases |
| Component: | version control/changeset view | Version: | |
| Severity: | normal | Keywords: | bitesized |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Trac should allow us to set file types (by extension) that should not be diff-ed. A lot of large auto generated xml-based files are showing up in changesets and they really hurt performance and make Trac difficult to use.
Attachments (0)
Change History (4)
comment:1 Changed 5 years ago by eblot
- Priority changed from high to normal
- Severity changed from major to normal
- Type changed from defect to enhancement
comment:2 Changed 5 years ago by rblank
- Milestone set to 0.13
- Owner changed from cboos to rblank
I see that this could be useful. I'll see what I can do.
comment:3 Changed 5 years ago by rblank
#7304 was closed as a duplicate. It suggested ignoring files by a list of glob patterns, and not to use the list when a single file is diffed.
Note: See
TracTickets for help on using
tickets.



Note that has an (incomplete) workaround, you can prevent Trac from generation large diff with an option in trac.ini, using the number of files and/or the size of the diff, see TracIni#changeset-section.
The filtering should be based on the file MIME type rather than the file extension BTW.