summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 05:49:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-12 05:50:06 (GMT)
commit36e7ed69de2c07a0214e79bde45714b92ac30ff2 (patch)
tree97cb7b7dcbfe7385d6f21ff994fa60937e681069 /builtin
parent55e6b3547d4a678e56e3aef16ad3a3c90351325a (diff)
downloadgit-36e7ed69de2c07a0214e79bde45714b92ac30ff2.zip
git-36e7ed69de2c07a0214e79bde45714b92ac30ff2.tar.gz
git-36e7ed69de2c07a0214e79bde45714b92ac30ff2.tar.bz2
rebase-interactive.c: remove the_repository references
While at there add a forward declaration for struct strbuf. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/rebase--interactive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/rebase--interactive.c b/builtin/rebase--interactive.c
index bd7d39e..dd2a55a 100644
--- a/builtin/rebase--interactive.c
+++ b/builtin/rebase--interactive.c
@@ -240,7 +240,7 @@ int cmd_rebase__interactive(int argc, const char **argv, const char *prefix)
break;
}
case EDIT_TODO:
- ret = edit_todo_list(flags);
+ ret = edit_todo_list(the_repository, flags);
break;
case SHOW_CURRENT_PATCH: {
struct child_process cmd = CHILD_PROCESS_INIT;