summaryrefslogtreecommitdiffstats
path: root/rebase-interactive.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 06:49:10 +0100
committerJunio C Hamano <gitster@pobox.com>2018-11-12 06:50:06 +0100
commit36e7ed69de2c07a0214e79bde45714b92ac30ff2 (patch)
tree97cb7b7dcbfe7385d6f21ff994fa60937e681069 /rebase-interactive.h
parentrerere.c: remove the_repository references (diff)
downloadgit-36e7ed69de2c07a0214e79bde45714b92ac30ff2.tar.xz
git-36e7ed69de2c07a0214e79bde45714b92ac30ff2.zip
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 'rebase-interactive.h')
-rw-r--r--rebase-interactive.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rebase-interactive.h b/rebase-interactive.h
index 971da03776..17b6c9f6d0 100644
--- a/rebase-interactive.h
+++ b/rebase-interactive.h
@@ -1,8 +1,11 @@
#ifndef REBASE_INTERACTIVE_H
#define REBASE_INTERACTIVE_H
+struct strbuf;
+struct repository;
+
void append_todo_help(unsigned edit_todo, unsigned keep_empty,
struct strbuf *buf);
-int edit_todo_list(unsigned flags);
+int edit_todo_list(struct repository *r, unsigned flags);
#endif