Skip to content

Commit 3f55607

Browse files
committed
Merge 'js/rebase-in-c-5.5-work-with-rebase-i-in-c'
This branch first merges the builtin interactive rebase, and then teaches the builtin rebase to hand off interactive rebases to the builtin backend correctly. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents b1ab78b + e93365a commit 3f55607

18 files changed

+821
-449
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
/git-rebase
120120
/git-rebase--am
121121
/git-rebase--common
122-
/git-rebase--helper
123122
/git-rebase--interactive
124123
/git-rebase--merge
125124
/git-rebase--preserve-merges

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ SCRIPT_LIB += git-mergetool--lib
624624
SCRIPT_LIB += git-parse-remote
625625
SCRIPT_LIB += git-rebase--am
626626
SCRIPT_LIB += git-rebase--common
627-
SCRIPT_LIB += git-rebase--interactive
628627
SCRIPT_LIB += git-rebase--preserve-merges
629628
SCRIPT_LIB += git-rebase--merge
630629
SCRIPT_LIB += git-sh-setup
@@ -935,6 +934,7 @@ LIB_OBJS += quote.o
935934
LIB_OBJS += range-diff.o
936935
LIB_OBJS += reachable.o
937936
LIB_OBJS += read-cache.o
937+
LIB_OBJS += rebase-interactive.o
938938
LIB_OBJS += reflog-walk.o
939939
LIB_OBJS += refs.o
940940
LIB_OBJS += refs/files-backend.o
@@ -1074,7 +1074,7 @@ BUILTIN_OBJS += builtin/push.o
10741074
BUILTIN_OBJS += builtin/range-diff.o
10751075
BUILTIN_OBJS += builtin/read-tree.o
10761076
BUILTIN_OBJS += builtin/rebase.o
1077-
BUILTIN_OBJS += builtin/rebase--helper.o
1077+
BUILTIN_OBJS += builtin/rebase--interactive.o
10781078
BUILTIN_OBJS += builtin/receive-pack.o
10791079
BUILTIN_OBJS += builtin/reflog.o
10801080
BUILTIN_OBJS += builtin/remote.o
@@ -2414,7 +2414,6 @@ XGETTEXT_FLAGS_PERL = $(XGETTEXT_FLAGS) --language=Perl \
24142414
LOCALIZED_C = $(C_OBJ:o=c) $(LIB_H) $(GENERATED_H)
24152415
LOCALIZED_SH = $(SCRIPT_SH)
24162416
LOCALIZED_SH += git-parse-remote.sh
2417-
LOCALIZED_SH += git-rebase--interactive.sh
24182417
LOCALIZED_SH += git-rebase--preserve-merges.sh
24192418
LOCALIZED_SH += git-sh-setup.sh
24202419
LOCALIZED_PERL = $(SCRIPT_PERL)

builtin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ extern int cmd_push(int argc, const char **argv, const char *prefix);
204204
extern int cmd_range_diff(int argc, const char **argv, const char *prefix);
205205
extern int cmd_read_tree(int argc, const char **argv, const char *prefix);
206206
extern int cmd_rebase(int argc, const char **argv, const char *prefix);
207-
extern int cmd_rebase__helper(int argc, const char **argv, const char *prefix);
207+
extern int cmd_rebase__interactive(int argc, const char **argv, const char *prefix);
208208
extern int cmd_receive_pack(int argc, const char **argv, const char *prefix);
209209
extern int cmd_reflog(int argc, const char **argv, const char *prefix);
210210
extern int cmd_remote(int argc, const char **argv, const char *prefix);

builtin/rebase--helper.c

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)