summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2023-09-06 15:22:45 +0000
committerJunio C Hamano <gitster@pobox.com>2023-09-06 10:29:43 -0700
commit36ac861a305720c54f759da814647d5987beb10b (patch)
tree8a93e24c119320668c2fbfd69fdec3f808aef89d /cache-tree.c
parent9c6990cca24301ae8f82bf6291049667a0aef14b (diff)
rebase -i: move unlink() calls
At the start of each iteration the loop that picks commits removes the state files from the previous pick. However some of these files are only written if there are conflicts in which case we exit the loop before the end of the loop body. Therefore they only need to be removed when the rebase continues, not at the start of each iteration. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions