1. 15 Nov, 2021 1 commit
  2. 10 Nov, 2021 1 commit
    • Brandon Maier's avatar
      Fix missing diff output on large diffs · fdbf5669
      Brandon Maier authored
      When there is a large diff chunk, match_lines() will skip running the
      difflib.Differ.compare(). However this causes the following issues:
      
      - It does not empty the `self.buf` buffer. This means that all future
        calls to match_lines() for that file will always be too large. So
        effectively no more diffs from the file get output.
      
      - It outputs a debug message, but does not output anything to the
        side-by-side diff, so a user looking at the side-by-side diff may be
        misled into thinking the rest of the file has no differences.
      
      We can fix these issue by falling back to a lazy line-by-line diff. This
      produces suboptimal output, but it runs in linear O(n) time while
      providing some form of output. We include a comment in the diff so the
      user knows the following output is using a lazy diff algorithm.
      fdbf5669
  3. 07 Nov, 2021 4 commits
  4. 05 Nov, 2021 2 commits
  5. 04 Nov, 2021 1 commit
  6. 31 Oct, 2021 6 commits
  7. 29 Oct, 2021 2 commits
  8. 28 Oct, 2021 2 commits
  9. 27 Oct, 2021 7 commits
  10. 26 Oct, 2021 3 commits
  11. 25 Oct, 2021 2 commits
  12. 22 Oct, 2021 2 commits
  13. 19 Oct, 2021 1 commit
  14. 17 Oct, 2021 1 commit
  15. 08 Oct, 2021 2 commits
  16. 05 Oct, 2021 2 commits
  17. 01 Oct, 2021 1 commit