HomeSoftware Heritage

Update git diff mode extended header line

Description

Update git diff mode extended header line

Update the git diff extended header line related to mode change to the more
modern version. According to
https://git-scm.com/docs/diff-format#_generating_patches_with_p, the old
versions are also supported, except deleted mode. CGit version 2.7.12 is
generating patch using the new version.

Details

Provenance
Boris Feld <lothiraldan@gmail.com>Authored on Mar 30 2019, 4:16 PM
ardumontPushed on Sep 27 2021, 5:34 PM
Parents
rPPDWa7db2a4b1556: Add failing test that try to apply a diff generated by Dulwich
Branches
Unknown
Tags
Unknown

Event Timeline