]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jz/patch-id-hunk-header-parsing-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 18 Feb 2022 00:25:04 +0000 (16:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Feb 2022 00:25:04 +0000 (16:25 -0800)
commitd077db1df0aef3db479904429e8008d8fc0e3fb3
treec037ff1fc3775cd70f1a92346417f4024a15d709
parent75ff34bcf75b388d720d06c41a3f2952f8395f1c
parent757e75c81e4332e363b90a0534a657b1bb6546fa
Merge branch 'jz/patch-id-hunk-header-parsing-fix'

Unlike "git apply", "git patch-id" did not handle patches with
hunks that has only 1 line in either preimage or postimage, which
has been corrected.

* jz/patch-id-hunk-header-parsing-fix:
  patch-id: fix scan_hunk_header on diffs with 1 line of before/after
  patch-id: fix antipatterns in tests