summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2026-07-15 16:22:00 +0100
committerJunio C Hamano <gitster@pobox.com>2026-07-15 12:16:21 -0700
commit871f9009d3fca0ac70d4df7f75c82b1e31213add (patch)
tree6da769b335de6563d63aa739a2db2fe78684e1da /t/t4013/diff.diff_initial..side
parentdc0e2ac15dc5c3770b2117535a0b316e3bf6aa7a (diff)
sequencer: remove unnecessary condition in pick_one_commit()
item->commit holds the commit to be picked and so it must be non-NULL otherwise pick_one_commit() would not know which commit to pick. It is also unconditionally dereferenced in do_pick_commit() which is called at the top of this function. Therefore the check to see if it is non-NULL is superfluous. 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