summaryrefslogtreecommitdiffstats
path: root/rebase-interactive.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:36 +0000
commit5ec6074f0633939fd17d94111d10c6c6b062978c (patch)
treebfaa17b5a64abc66c918e9c70969e519d9e1df8e /rebase-interactive.h
parentInitial commit. (diff)
downloadgit-upstream/1%2.30.2.tar.xz
git-upstream/1%2.30.2.zip
Adding upstream version 1:2.30.2.upstream/1%2.30.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'rebase-interactive.h')
-rw-r--r--rebase-interactive.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/rebase-interactive.h b/rebase-interactive.h
new file mode 100644
index 0000000..dc2cf0e
--- /dev/null
+++ b/rebase-interactive.h
@@ -0,0 +1,21 @@
+#ifndef REBASE_INTERACTIVE_H
+#define REBASE_INTERACTIVE_H
+
+struct strbuf;
+struct repository;
+struct todo_list;
+
+void append_todo_help(int command_count,
+ const char *shortrevisions, const char *shortonto,
+ struct strbuf *buf);
+int edit_todo_list(struct repository *r, struct todo_list *todo_list,
+ struct todo_list *new_todo, const char *shortrevisions,
+ const char *shortonto, unsigned flags);
+
+int todo_list_check(struct todo_list *old_todo, struct todo_list *new_todo);
+int todo_list_check_against_backup(struct repository *r,
+ struct todo_list *todo_list);
+
+int check_todo_list_from_file(struct repository *r);
+
+#endif