Alban Gruin
f22e4e1a3c
rebase -i: rewrite the rest of init_revisions_and_shortrevisions() in C
...
This rewrites the part of init_revisions_and_shortrevisions() needed by
`--complete-action` (which initialize $shortrevisions) from shell to C.
When `upstream` is empty, it means that the user launched a `rebase
--root`, and `onto` contains the ID of an empty commit. As a range
between an empty commit and `head` is not really meaningful, `onto` is
not used to initialize `shortrevisions` in this case.
The corresponding arguments passed to `--complete-action` are then
dropped, and init_revisions_and_shortrevisions() is stripped from
git-rebase--interactive.sh
Signed-off-by: Alban Gruin <alban.gruin@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2018-08-29 13:38:18 -07:00
..
2018-05-30 14:04:05 +09:00
2018-06-25 13:22:38 -07:00
2017-10-06 10:07:18 +09:00
2018-02-08 12:37:30 -08:00
2017-11-13 10:51:14 +09:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:31 -07:00
2018-07-18 12:20:28 -07:00
2017-06-15 12:56:22 -07:00
2018-02-12 13:09:35 -08:00
2017-06-15 12:56:22 -07:00
2017-11-15 12:04:57 +09:00
2018-02-09 10:24:50 -08:00
2018-07-18 12:20:28 -07:00
2018-05-29 14:51:28 +09:00
2018-07-18 12:20:28 -07:00
2018-05-13 10:45:05 +09:00
2018-04-11 10:43:02 +09:00
2018-05-16 11:42:03 +09:00
2018-07-18 12:20:28 -07:00
2018-05-30 21:51:27 +09:00
2018-05-02 13:59:49 +09:00
2017-05-30 14:45:03 +09:00
2018-07-18 12:20:28 -07:00
2017-08-03 13:11:02 -07:00
2017-10-07 16:27:55 +09:00
2018-02-14 13:10:05 -08:00
2018-06-25 13:22:36 -07:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:28 -07:00
2018-05-08 15:59:16 +09:00
2018-07-18 12:20:31 -07:00
2018-05-16 11:42:03 +09:00
2017-10-04 11:35:29 +09:00
2018-05-30 14:04:10 +09:00
2018-05-30 14:04:05 +09:00
2017-09-27 15:45:24 +09:00
2018-06-22 12:59:02 -07:00
2018-07-18 12:20:28 -07:00
2018-06-01 15:06:37 +09:00
2018-06-13 12:50:46 -07:00
2018-06-01 15:06:40 +09:00
2017-08-26 22:55:04 -07:00
2018-07-18 12:20:29 -07:00
2018-06-01 15:06:38 +09:00
2018-05-23 14:38:15 +09:00
2018-05-16 11:42:03 +09:00
2017-11-15 12:14:32 +09:00
2017-06-15 12:56:22 -07:00
2017-11-09 14:31:27 +09:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:28 -07:00
2018-05-16 11:42:03 +09:00
2018-05-16 11:42:03 +09:00
2018-05-30 14:04:05 +09:00
2018-05-21 14:07:20 +09:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:30 -07:00
2018-05-02 13:59:50 +09:00
2018-04-12 11:38:56 +09:00
2017-06-15 12:56:22 -07:00
2018-05-02 13:59:49 +09:00
2018-05-18 08:13:10 +09:00
2018-07-18 12:20:28 -07:00
2018-05-18 06:19:44 +09:00
2018-05-10 14:55:40 +09:00
2018-08-29 13:38:18 -07:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:28 -07:00
2017-09-22 12:49:57 +09:00
2017-05-30 14:45:04 +09:00
2018-07-18 12:20:28 -07:00
2018-04-16 13:52:29 +09:00
2018-07-18 12:20:28 -07:00
2017-09-14 15:17:59 +09:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:30 -07:00
2018-07-18 12:20:28 -07:00
2017-12-13 11:15:14 -08:00
2018-05-30 14:04:05 +09:00
2018-06-28 12:53:30 -07:00
2018-03-15 12:01:08 -07:00
2018-04-10 16:28:20 +09:00
2018-05-21 14:07:20 +09:00
2018-05-29 00:28:22 +09:00
2018-05-16 11:42:03 +09:00
2017-06-15 12:56:22 -07:00
2018-07-18 12:20:31 -07:00
2017-11-06 10:31:08 +09:00
2018-07-18 12:20:28 -07:00
2018-05-16 11:42:03 +09:00
2018-07-18 12:20:28 -07:00
2018-05-30 14:04:07 +09:00
2018-06-04 12:26:01 +09:00
2018-02-09 10:24:50 -08:00
2017-05-30 14:45:04 +09:00
2018-05-08 15:59:16 +09:00
2017-06-15 12:56:22 -07:00
2018-05-16 11:42:03 +09:00
2017-06-15 12:56:22 -07:00
2018-04-09 06:14:45 +09:00
2018-05-23 14:38:18 +09:00
2018-03-14 09:23:47 -07:00