- 10 Feb, 2015 4 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
- 06 Feb, 2015 1 commit
-
-
Reiner Herrmann authored
-
- 05 Feb, 2015 1 commit
-
-
Reiner Herrmann authored
-
- 04 Feb, 2015 3 commits
-
-
Reiner Herrmann authored
-
Reiner Herrmann authored
-
Reiner Herrmann authored
-
- 03 Feb, 2015 6 commits
-
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
-
Chris Lamb authored
-
- 29 Jan, 2015 1 commit
-
-
Reiner Herrmann authored
-
- 18 Jan, 2015 4 commits
-
-
Reiner Herrmann authored
-
Jérémy Bobbio authored
To compare text files we need to know the encoding. So we need to rely solely on libmagic and not match the extension.
-
Jérémy Bobbio authored
In order to properly read text files, we need to get the encoding. As they are identified by libmagic, we simply need to pass what appears in the MIME type to the comparator function. We do so by capturing part of the regex using named group, and passing the resulting dictionary to the comparison function.
-
Reiner Herrmann authored
With a small context large blocks of changes that have a single or a few equal lines inbetween will be split into multiple blocks. By having a larger context, they will stay in one block and more lines can be trimmed.
-
- 16 Jan, 2015 1 commit
-
-
- 10 Jan, 2015 6 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
- 09 Jan, 2015 5 commits
-
-
Reiner Herrmann authored
Creating HTML diffs with vim gets very slow when the files become larger and there are very large blocks that differ. To speed this up, the individual differing blocks are shrunk when they are longer than a configured number of lines. The information about the blocks is obtained by first calling 'diff', which is extremely fast even on large files.
-
Jérémy Bobbio authored
Closes: #764140
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Let's not call guess_mime_type for every comparator available. Doing it once should be enough.
-
- 08 Jan, 2015 3 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
- 07 Jan, 2015 3 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
Using magic and doing smart comparisons is slower than comparing bytes directly. Let's assume most files will actually be identical and start comparing small files directly. If they match, we can skip the smart bits entirely. This lead to drastic run time improvements when comparing source tarballs with many small files (e.g. linux-source).
-
- 30 Dec, 2014 2 commits
-
-
Jérémy Bobbio authored
-
Jérémy Bobbio authored
Closes: #773573
-