From 1b593e1ea4d2af0f6444d9a7788d5d99abd6fde5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 11 Jan 2020 23:36:56 +0000 Subject: Squashed 'third_party/git/' content from commit cb71568594 git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7 --- resolve-undo.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 resolve-undo.h (limited to 'resolve-undo.h') diff --git a/resolve-undo.h b/resolve-undo.h new file mode 100644 index 000000000000..2b3f0f901e63 --- /dev/null +++ b/resolve-undo.h @@ -0,0 +1,19 @@ +#ifndef RESOLVE_UNDO_H +#define RESOLVE_UNDO_H + +#include "cache.h" + +struct resolve_undo_info { + unsigned int mode[3]; + struct object_id oid[3]; +}; + +void record_resolve_undo(struct index_state *, struct cache_entry *); +void resolve_undo_write(struct strbuf *, struct string_list *); +struct string_list *resolve_undo_read(const char *, unsigned long); +void resolve_undo_clear_index(struct index_state *); +int unmerge_index_entry_at(struct index_state *, int); +void unmerge_index(struct index_state *, const struct pathspec *); +void unmerge_marked_index(struct index_state *); + +#endif -- cgit 1.4.1