summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2018-04-25 14:28:29 +0200
committerJunio C Hamano <gitster@pobox.com>2018-04-26 12:28:42 +0900
commita01c2a5f59cc0f28daeab33355ae4a45490ce7e6 (patch)
treec7e93a4a219aa3078de56372058ef7dc722c966f /commit.c
parent2f6b1d13aa730901fe328fc2d88f208ea44d4f9e (diff)
sequencer: refactor how original todo list lines are accessed
Previously, we did a lot of arithmetic gymnastics to get at the line in the todo list (as stored in todo_list.buf). This might have been fast, but only in terms of execution speed, not in terms of developer time. Let's refactor this to make it a lot easier to read, and hence to reason about the correctness of the code. It is not performance-critical code anyway. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions