1. 05 Dec, 2021 2 commits
  2. 02 Dec, 2021 1 commit
  3. 26 Nov, 2021 2 commits
  4. 21 Nov, 2021 1 commit
  5. 19 Nov, 2021 6 commits
  6. 18 Nov, 2021 7 commits
  7. 15 Nov, 2021 3 commits
    • Chris Lamb's avatar
      Import itertools top-level directly. · 592c401b
      Chris Lamb authored
      Gbp-dch: ignore
      592c401b
    • Chris Lamb's avatar
      Apply Black to previous commit. · 11cdb97c
      Chris Lamb authored
      Gbp-dch: ignore
      11cdb97c
    • Brandon Maier's avatar
      Fix missing diff output on large diffs. · 6790469f
      Brandon Maier authored and Chris Lamb's avatar Chris Lamb committed
      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.
      6790469f
  8. 12 Nov, 2021 6 commits
  9. 11 Nov, 2021 1 commit
  10. 07 Nov, 2021 4 commits
  11. 05 Nov, 2021 2 commits
  12. 04 Nov, 2021 1 commit
  13. 31 Oct, 2021 4 commits