Skip to content

Commit d3d44f4

Browse files
agrngitster
authored andcommitted
rebase -i: remove git-rebase--interactive.sh
This removes git-rebase--interactive.sh, as its functionnality has been replaced by git-rebase--interactive2. git-rebase--interactive2.c is then renamed to git-rebase--interactive.c. Signed-off-by: Alban Gruin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fe786a3 commit d3d44f4

File tree

6 files changed

+3
-90
lines changed

6 files changed

+3
-90
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
/git-rebase--am
119119
/git-rebase--helper
120120
/git-rebase--interactive
121-
/git-rebase--interactive2
122121
/git-rebase--merge
123122
/git-rebase--preserve-merges
124123
/git-receive-pack

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ SCRIPT_SH += git-web--browse.sh
619619
SCRIPT_LIB += git-mergetool--lib
620620
SCRIPT_LIB += git-parse-remote
621621
SCRIPT_LIB += git-rebase--am
622-
SCRIPT_LIB += git-rebase--interactive
623622
SCRIPT_LIB += git-rebase--preserve-merges
624623
SCRIPT_LIB += git-rebase--merge
625624
SCRIPT_LIB += git-sh-setup
@@ -1060,8 +1059,8 @@ BUILTIN_OBJS += builtin/prune.o
10601059
BUILTIN_OBJS += builtin/pull.o
10611060
BUILTIN_OBJS += builtin/push.o
10621061
BUILTIN_OBJS += builtin/read-tree.o
1063-
BUILTIN_OBJS += builtin/rebase--interactive2.o
10641062
BUILTIN_OBJS += builtin/rebase--helper.o
1063+
BUILTIN_OBJS += builtin/rebase--interactive.o
10651064
BUILTIN_OBJS += builtin/receive-pack.o
10661065
BUILTIN_OBJS += builtin/reflog.o
10671066
BUILTIN_OBJS += builtin/remote.o
@@ -2400,7 +2399,6 @@ XGETTEXT_FLAGS_PERL = $(XGETTEXT_FLAGS) --language=Perl \
24002399
LOCALIZED_C = $(C_OBJ:o=c) $(LIB_H) $(GENERATED_H)
24012400
LOCALIZED_SH = $(SCRIPT_SH)
24022401
LOCALIZED_SH += git-parse-remote.sh
2403-
LOCALIZED_SH += git-rebase--interactive.sh
24042402
LOCALIZED_SH += git-rebase--preserve-merges.sh
24052403
LOCALIZED_SH += git-sh-setup.sh
24062404
LOCALIZED_PERL = $(SCRIPT_PERL)
File renamed without changes.

git-rebase--interactive.sh

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

git-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ run_interactive () {
223223
test -n "$cmd" && cmd="--cmd=$cmd"
224224
test -n "$action" && action="--$action"
225225

226-
exec git rebase--interactive2 "$action" "$keep_empty" "$rebase_merges" "$rebase_cousins" \
226+
exec git rebase--interactive "$action" "$keep_empty" "$rebase_merges" "$rebase_cousins" \
227227
"$upstream" "$onto" "$squash_onto" "$restrict_revision" \
228228
"$allow_empty_message" "$autosquash" "$verbose" \
229229
"$force_rebase" "$onto_name" "$head_name" "$strategy" \

git.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static struct cmd_struct commands[] = {
518518
{ "pull", cmd_pull, RUN_SETUP | NEED_WORK_TREE },
519519
{ "push", cmd_push, RUN_SETUP },
520520
{ "read-tree", cmd_read_tree, RUN_SETUP | SUPPORT_SUPER_PREFIX},
521-
{ "rebase--interactive2", cmd_rebase__interactive, RUN_SETUP | NEED_WORK_TREE },
521+
{ "rebase--interactive", cmd_rebase__interactive, RUN_SETUP | NEED_WORK_TREE },
522522
{ "rebase--helper", cmd_rebase__helper, RUN_SETUP | NEED_WORK_TREE },
523523
{ "receive-pack", cmd_receive_pack },
524524
{ "reflog", cmd_reflog, RUN_SETUP },

0 commit comments

Comments
 (0)