Commit a5b5740
rebase: simplify code related to imply_merge()
The code's evolution left in some bits surrounding enum rebase_type that
don't really make sense any more. In particular, it makes no sense to
invoke imply_merge() if the type is already known not to be
REBASE_APPLY, and it makes no sense to assign the type after calling
imply_merge().
enum rebase_type had more values until commit a74b350 ("rebase: drop
support for `--preserve-merges`") and commit 10cdb9f ("rebase: rename
the two primary rebase backends"). The latter commit also renamed
imply_interactive() to imply_merge().
Signed-off-by: Oswald Buddenhagen <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 813d9a9 commit a5b5740
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | 389 | | |
391 | 390 | | |
392 | 391 | | |
| |||
1505 | 1504 | | |
1506 | 1505 | | |
1507 | 1506 | | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | 1507 | | |
1512 | 1508 | | |
1513 | 1509 | | |
| |||
1552 | 1548 | | |
1553 | 1549 | | |
1554 | 1550 | | |
1555 | | - | |
| 1551 | + | |
1556 | 1552 | | |
1557 | 1553 | | |
1558 | 1554 | | |
| |||
0 commit comments