diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-08-07 13:49:47 -0300 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-08-07 09:49:47 -0700 |
commit | 2772791fdad8f0ec4ae49aad020f8afdff2f9c46 (patch) | |
tree | fb07f73dfbab67a42d492009ae97119d39a0587a /routers | |
parent | 08c976f8117b92b25ea197e7dc0372b49d9ee412 (diff) | |
download | gitea-2772791fdad8f0ec4ae49aad020f8afdff2f9c46.tar.gz gitea-2772791fdad8f0ec4ae49aad020f8afdff2f9c46.zip |
Improve diff highlight (#3390)
- Try to reduce memory allocations
- Add possibility to disable diff highlight (can improve performance for large diffs)
- Tweaking with cost for prettier (cleaner) diffs
- Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
Diffstat (limited to 'routers')
0 files changed, 0 insertions, 0 deletions