diff options
| author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2026-05-04 15:06:20 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-05 16:20:05 +0900 |
| commit | c8eb18f58607057a812654bdfca3e6b47bd0ffe4 (patch) | |
| tree | 80180f90454d4d92026406c5ccc5fbbdc00e1914 /t/t4013/diff.diff_initial..side | |
| parent | 53d13887b8581d46dffc1f4ee2622c977b65ecb5 (diff) | |
xprepare: simplify error handling
If either of the two allocations fail we want to take the same action
so use a single if statement. This saves a few lines and makes it
easier for the next commit to add a couple more allocations.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
