]> git.99rst.org Git - git.git/commit
patch-id: fix antipatterns in tests
authorJerry Zhang <redacted>
Wed, 2 Feb 2022 04:20:15 +0000 (20:20 -0800)
committerJunio C Hamano <redacted>
Wed, 2 Feb 2022 19:24:15 +0000 (11:24 -0800)
commit56fa5ac39a8601d965127abebbc533f29eaef751
tree9733071d9705d500c5c55f1f0d20969965797d72
parent4c53a8c20f8984adb226293a3ffd7b88c3f4ac1a
patch-id: fix antipatterns in tests

Clean up the tests for patch-id by moving file preparation
tasks inside the test body and redirecting files directly into
stdin instead of using 'cat'.

Signed-off-by: Jerry Zhang <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t4204-patch-id.sh
git clone https://git.99rst.org/PROJECT