summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-30 05:04:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-30 05:04:04 (GMT)
commitc5aa4bccb5ffcc01e45915c00d2fce30ce959dab (patch)
tree1416c16d013f318821cff23d71ea2dba6c866dbe /sequencer.h
parent89be19d7080721dab5f07488b7987c66c8b8460c (diff)
parent8fa6eea0ffd271f0564048dc939987e9640efca5 (diff)
downloadgit-c5aa4bccb5ffcc01e45915c00d2fce30ce959dab.zip
git-c5aa4bccb5ffcc01e45915c00d2fce30ce959dab.tar.gz
git-c5aa4bccb5ffcc01e45915c00d2fce30ce959dab.tar.bz2
Merge branch 'js/sequencer-and-root-commits'
The implementation of "git rebase -i --root" has been updated to use the sequencer machinery more. * js/sequencer-and-root-commits: rebase --rebase-merges: root commits can be cousins, too rebase --rebase-merges: a "merge" into a new root is a fast-forward sequencer: allow introducing new root commits rebase -i --root: let the sequencer handle even the initial part sequencer: learn about the special "fake root commit" handling sequencer: extract helper to update active_cache_tree
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sequencer.h b/sequencer.h
index a800cb5..c5787c6 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -48,6 +48,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;
};