Tag

  • Show log

    Commit

  • Hash : 5f47cb48
    Author : Patrick Steinhardt
    Date : 2020-03-26T14:16:41

    patch: correctly handle mode changes for renames When generating a patch for a renamed file whose mode bits have changed in addition to the rename, then we currently fail to parse the generated patch. Furthermore, when generating a diff we output mode bits after the similarity metric, which is different to how upstream git handles it. Fix both issues by adding another state transition that allows similarity indices after mode changes and by printing mode changes before the similarity index.