]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
sequencer.c: remove implicit dependency on the_index
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 10 Nov 2018 05:48:56 +0000 (06:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Nov 2018 05:50:05 +0000 (14:50 +0900)
commitf11c95805495fcb588f767ffab193f2aed328eab
tree067ad17a503c501836dfb4cf51efcb621b58015d
parent6c6d5d0776b5eb60dc206691fc1fde755e94da20
sequencer.c: remove implicit dependency on the_index

Since we're going to pass 'struct repository *' around most of the
time instead of 'struct index_state *' because most sequencer.c
operations need more than just the index, the_repository is replaced
as well in the functions that now take 'struct repository
*'. the_repository is still present in this file, but total clean up
will be done later. It's not the main focus of this patch.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
builtin/merge.c
builtin/rebase--interactive.c
builtin/revert.c
sequencer.c
sequencer.h