summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2026-05-04 15:06:20 +0100
committerJunio C Hamano <gitster@pobox.com>2026-05-05 16:20:05 +0900
commitc8eb18f58607057a812654bdfca3e6b47bd0ffe4 (patch)
tree80180f90454d4d92026406c5ccc5fbbdc00e1914 /t/t4013/diff.diff_initial..side
parent53d13887b8581d46dffc1f4ee2622c977b65ecb5 (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