diff options
author | 2021-02-04 20:07:50 +0000 | |
---|---|---|
committer | 2021-02-04 17:16:42 -0800 | |
commit | a2d474adf32c4ea2585b2c6109c356523124e1f9 (patch) | |
tree | 235cdad91c3331d1cc31a56116e411f7a0a1a6e3 /t/t6200-fmt-merge-msg.sh | |
parent | range-diff: avoid leaking memory in two error code paths (diff) | |
download | tgif-a2d474adf32c4ea2585b2c6109c356523124e1f9.tar.xz |
range-diff: libify the read_patches() function again
In library functions, we do want to avoid the (simple, but rather final)
`die()` calls, instead returning with a value indicating an error.
Let's do exactly that in the code introduced in b66885a30cb8
(range-diff: add section header instead of diff header, 2019-07-11) that
wants to error out if a diff header could not be parsed.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6200-fmt-merge-msg.sh')
0 files changed, 0 insertions, 0 deletions