convert "oidcmp() != 0" to "!oideq()"
[gitweb.git] / sequencer.h
index a800cb57558fab14d43cda47c9a69b3c5015e1a8..c751c9d6e4f78e7d9e2700dcc3fb3157961fb049 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef SEQUENCER_H
 #define SEQUENCER_H
 
+#include "cache.h"
+#include "strbuf.h"
+
+struct commit;
+
 const char *git_path_commit_editmsg(void);
 const char *git_path_seq_dir(void);
 
@@ -48,6 +53,10 @@ struct replay_opts {
        struct strbuf current_fixups;
        int current_fixup_count;
 
+       /* placeholder commit for -i --root */
+       struct object_id squash_onto;
+       int have_squash_onto;
+
        /* Only used by REPLAY_NONE */
        struct rev_info *revs;
 };