Branch

  • Show log

    Commit

  • Hash : acf749fc
    Author : Omar Polo
    Date : 2022-07-02T13:56:21

    refactor the patch parser
    
    Introduce a patch_start routine that finds the next "diff" header (if
    there is one); the idea is to persist some state (commit id and wether
    it's a "git diff") while processing the content of the diff.  It's
    needed because in the case of 'got diff' some information like the
    commit id are only present once at the beginning.
    
    As a consequence, the patch parser becomes slightly more robust
    (concatenating diffs produced by different means shouldn't confuse it
    anymore) and drops the support for "old" got diffs, the ones previous
    the introduction of the "commit -/+" header.
    
    ok tracey@