Antonin Delpeuch
9c93ba4d0a
merge-recursive: honor diff.algorithm
...
The documentation claims that "recursive defaults to the diff.algorithm
config setting", but this is currently not the case. This fixes it,
ensuring that diff.algorithm is used when -Xdiff-algorithm is not
supplied. This affects the following porcelain commands: "merge",
"rebase", "cherry-pick", "pull", "stash", "log", "am" and "checkout".
It also affects the "merge-tree" ancillary interrogator.
This change refactors the initialization of merge options to introduce
two functions, "init_merge_ui_options" and "init_merge_basic_options"
instead of just one "init_merge_options". This design follows the
approach used in diff.c, providing initialization methods for
porcelain and plumbing commands respectively. Thanks to that, the
"replay" and "merge-recursive" plumbing commands remain unaffected by
diff.algorithm.
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-07-13 18:10:49 -07:00
..
2024-06-05 14:53:26 -07:00
2024-07-13 18:10:49 -07:00
2020-07-30 19:18:06 -07:00
2024-05-21 09:07:48 -07:00
2024-07-08 14:53:10 -07:00
2024-06-07 10:30:48 -07:00
2024-07-08 14:53:10 -07:00
2024-05-20 11:20:04 -07:00
2024-06-07 10:30:48 -07:00
2024-05-06 22:50:49 -07:00
2024-06-11 13:15:05 -07:00
2024-04-18 12:30:42 -07:00
2024-06-07 10:30:48 -07:00
2023-06-21 13:39:54 -07:00
2023-06-21 13:39:53 -07:00
2023-07-05 11:42:31 -07:00
2024-04-18 12:30:42 -07:00
2024-07-13 18:10:49 -07:00
2024-04-18 12:30:42 -07:00
2024-07-08 14:53:10 -07:00
2024-02-13 10:18:50 -08:00
2024-02-08 13:20:34 -08:00
2024-06-11 13:15:07 -07:00
2024-07-08 14:53:10 -07:00
2024-06-06 12:49:23 -07:00
2023-07-13 17:24:00 -07:00
2024-05-08 10:18:44 -07:00
2024-05-08 10:18:44 -07:00
2024-04-16 22:39:06 -07:00
2024-05-27 11:20:01 -07:00
2024-05-17 10:33:39 -07:00
2024-06-07 10:30:48 -07:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-04-18 12:30:42 -07:00
2024-05-06 22:50:49 -07:00
2024-07-08 14:53:10 -07:00
2024-06-14 10:26:32 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:32 -07:00
2024-06-20 15:45:12 -07:00
2024-06-11 13:15:04 -07:00
2024-05-15 07:30:52 -07:00
2024-04-24 10:46:03 -07:00
2024-05-07 10:06:59 -07:00
2023-12-26 12:04:33 -08:00
2024-05-17 10:33:39 -07:00
2023-12-26 12:04:31 -08:00
2024-06-11 13:15:05 -07:00
2024-05-21 09:05:13 -07:00
2023-07-06 11:54:48 -07:00
2023-12-26 12:04:31 -08:00
2024-06-14 10:26:32 -07:00
2024-06-06 09:04:31 -07:00
2024-05-23 11:04:27 -07:00
2024-07-08 14:53:10 -07:00
2024-03-25 11:59:24 -07:00
2024-07-02 09:59:01 -07:00
2024-06-11 13:15:05 -07:00
2023-12-26 12:04:31 -08:00
2024-06-07 10:30:48 -07:00
2024-02-29 08:06:01 -08:00
2023-11-22 14:23:06 +09:00
2024-04-18 12:30:42 -07:00
2023-06-21 13:39:53 -07:00
2024-07-13 18:10:49 -07:00
2024-07-13 18:10:49 -07:00
2024-07-13 18:10:49 -07:00
2023-12-26 12:04:33 -08:00
2023-07-05 11:42:31 -07:00
2024-06-11 13:15:04 -07:00
2024-05-30 08:55:29 -07:00
2024-05-07 10:06:59 -07:00
2024-06-14 10:26:32 -07:00
2024-07-02 09:59:00 -07:00
2024-06-14 10:26:32 -07:00
2024-03-25 09:54:07 -07:00
2024-06-14 10:26:32 -07:00
2023-03-21 10:56:51 -07:00
2023-06-29 16:43:21 -07:00
2024-07-02 09:59:00 -07:00
2024-06-14 09:34:39 -07:00
2023-12-26 12:04:31 -08:00
2024-04-18 12:30:42 -07:00
2024-06-20 15:45:15 -07:00
2024-07-02 09:59:00 -07:00
2024-05-17 10:33:39 -07:00
2024-06-06 09:04:34 -07:00
2023-03-28 14:11:24 -07:00
2023-03-28 14:11:24 -07:00
2024-07-02 09:59:01 -07:00
2024-06-06 12:49:23 -07:00
2024-06-14 10:26:32 -07:00
2024-07-13 18:10:49 -07:00
2023-12-26 12:04:31 -08:00
2024-05-16 10:10:14 -07:00
2024-06-11 13:15:05 -07:00
2024-06-11 13:15:05 -07:00
2024-06-07 10:30:48 -07:00
2024-06-14 10:26:32 -07:00
2024-06-07 10:30:53 -07:00
2024-06-11 13:15:06 -07:00
2024-05-07 10:06:59 -07:00
2023-06-21 13:39:53 -07:00
2024-06-20 15:45:17 -07:00
2024-07-08 14:53:10 -07:00
2024-07-13 18:10:49 -07:00
2024-03-12 13:28:10 -07:00
2024-06-12 13:37:15 -07:00
2024-05-20 11:20:04 -07:00
2024-06-14 10:26:32 -07:00
2023-07-05 11:41:59 -07:00
2024-06-14 10:26:32 -07:00
2024-05-17 10:33:38 -07:00
2024-07-02 09:59:00 -07:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2024-04-29 20:42:30 +02:00
2024-05-17 10:33:39 -07:00
2023-12-26 12:04:31 -08:00
2023-06-21 13:39:54 -07:00
2023-12-26 12:04:31 -08:00
2024-06-06 12:49:23 -07:00
2024-04-18 12:30:42 -07:00