1. 28 Nov, 2019 5 commits
  2. 27 Nov, 2019 1 commit
  3. 25 Nov, 2019 5 commits
  4. 24 Nov, 2019 12 commits
  5. 23 Nov, 2019 2 commits
  6. 22 Nov, 2019 9 commits
  7. 16 Nov, 2019 3 commits
  8. 10 Nov, 2019 1 commit
    • patch_parse: use paths from "---"/"+++" lines for binary patches · de7659cc
      For some patches, it is not possible to derive the old and new file
      paths from the patch header's first line, most importantly when they
      contain spaces. In such a case, we derive both paths from the "---" and
      "+++" lines, which allow for non-ambiguous parsing. We fail to use these
      paths when parsing binary patches without data, though, as we always
      expect the header paths to be filled in.
      
      Fix this by using the "---"/"+++" paths by default and only fall back to
      header paths if they aren't set. If neither of those paths are set, we
      just return an error. Add two tests to verify this behaviour, one of
      which would have previously caused a segfault.
      Patrick Steinhardt committed
  9. 09 Nov, 2019 1 commit
  10. 06 Nov, 2019 1 commit