summaryrefslogtreecommitdiff
path: root/oidset.c
diff options
context:
space:
mode:
authorLibravatar Alban Gruin <alban.gruin@gmail.com>2019-03-05 20:18:02 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-03-07 09:17:57 +0900
commitaf1fc3adc5bf0d831ee3c1c8e86c1b7ce59e070e (patch)
tree18138a3a1ab2301972df0700fa66bd90fb48a94c /oidset.c
parentrebase-interactive: use todo_list_write_to_file() in edit_todo_list() (diff)
downloadtgif-af1fc3adc5bf0d831ee3c1c8e86c1b7ce59e070e.tar.xz
rebase-interactive: append_todo_help() changes
This moves the writing of the comment "Rebase $shortrevisions onto $shortonto ($command_count commands)" from todo_list_write_to_file() to append_todo_help(). shortrevisions, shortonto, and command_count are passed as parameters to append_todo_help(). During the initial edit of the todo list, shortrevisions and shortonto are not NULL. Therefore, if shortrevisions or shortonto is NULL, then edit_todo would be true, otherwise it would be false. Thus, edit_todo is removed from the parameters of append_todo_help(). Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'oidset.c')
0 files changed, 0 insertions, 0 deletions