summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-02 02:04:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-02 02:04:52 (GMT)
commit5ae50845d8a30d7db32e139ce04b712f9deb99cd (patch)
tree0b01b1bf5c765b894c5ab6482f143b318f5729bb /git.c
parent4ede3d42dfb57f9a41ac96a1f216c62eb7566cc2 (diff)
parentac7f467fef8b836084afdce5eded047c79a6858d (diff)
downloadgit-5ae50845d8a30d7db32e139ce04b712f9deb99cd.zip
git-5ae50845d8a30d7db32e139ce04b712f9deb99cd.tar.gz
git-5ae50845d8a30d7db32e139ce04b712f9deb99cd.tar.bz2
Merge branch 'pk/rebase-in-c'
Rewrite of the "rebase" machinery in C. * pk/rebase-in-c: builtin/rebase: support running "git rebase <upstream>" rebase: refactor common shell functions into their own file rebase: start implementing it as a builtin
Diffstat (limited to 'git.c')
-rw-r--r--git.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/git.c b/git.c
index adac132..8e52276 100644
--- a/git.c
+++ b/git.c
@@ -526,6 +526,12 @@ static struct cmd_struct commands[] = {
{ "push", cmd_push, RUN_SETUP },
{ "range-diff", cmd_range_diff, RUN_SETUP | USE_PAGER },
{ "read-tree", cmd_read_tree, RUN_SETUP | SUPPORT_SUPER_PREFIX},
+ /*
+ * NEEDSWORK: Until the rebase is independent and needs no redirection
+ * to rebase shell script this is kept as is, then should be changed to
+ * RUN_SETUP | NEED_WORK_TREE
+ */
+ { "rebase", cmd_rebase },
{ "rebase--helper", cmd_rebase__helper, RUN_SETUP | NEED_WORK_TREE },
{ "receive-pack", cmd_receive_pack },
{ "reflog", cmd_reflog, RUN_SETUP },