Johannes Schindelin
24876ebf68
commit-reach(repo_in_merge_bases_many): report missing commits
...
Some functions in Git's source code follow the convention that returning
a negative value indicates a fatal error, e.g. repository corruption.
Let's use this convention in `repo_in_merge_bases()` to report when one
of the specified commits is missing (i.e. when `repo_parse_commit()`
reports an error).
Also adjust the callers of `repo_in_merge_bases()` to handle such
negative return values.
Note: As of this patch, errors are returned only if any of the specified
merge heads is missing. Over the course of the next patches, missing
commits will also be reported by the `paint_down_to_common()` function,
which is called by `repo_in_merge_bases_many()`, and those errors will
be properly propagated back to the caller at that stage.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-02-28 09:47:03 -08:00
..
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:33 -08:00
2024-02-08 16:22:10 -08:00
2024-02-08 16:22:10 -08:00
2024-02-28 09:47:03 -08:00
2023-10-29 08:56:17 +09:00
2023-08-07 11:57:18 -07:00
2024-02-14 15:36:06 -08:00
2023-08-11 09:44:52 -07:00
2023-06-21 13:39:53 -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
2023-12-26 12:04:31 -08:00
2024-02-08 16:22:10 -08:00
2023-12-09 07:41:03 +09:00
2024-02-08 16:22:10 -08:00
2024-02-08 16:22:06 -08:00
2024-02-08 13:20:34 -08:00
2023-12-26 12:04:31 -08:00
2024-02-08 16:22:10 -08:00
2024-01-29 10:27:53 -08:00
2023-07-13 17:24:00 -07:00
2023-07-05 11:42:31 -07:00
2023-12-26 12:04:31 -08:00
2023-07-06 11:54:46 -07:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-02-28 09:47:03 -08:00
2023-07-05 11:42:31 -07:00
2024-02-28 09:47:03 -08:00
2023-07-05 11:41:59 -07:00
2024-01-08 14:05:15 -08:00
2023-06-21 13:39:53 -07:00
2023-12-26 12:04:33 -08:00
2023-12-26 12:04:33 -08:00
2024-01-18 12:17:42 -08:00
2023-12-26 12:04:31 -08:00
2024-02-14 15:36:06 -08:00
2023-12-26 12:04:31 -08:00
2023-07-06 11:54:48 -07:00
2023-12-26 12:04:31 -08:00
2024-02-08 16:22:12 -08:00
2024-01-16 10:11:57 -08:00
2023-10-13 14:18:27 -07:00
2024-02-28 09:47:03 -08:00
2023-12-26 12:04:31 -08:00
2024-01-08 14:05:15 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-06-21 13:39:53 -07:00
2024-02-28 09:47:03 -08:00
2023-11-22 14:23:06 +09:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-12-26 12:04:31 -08:00
2024-02-08 16:22:10 -08:00
2024-02-08 16:22:10 -08:00
2023-12-26 12:04:33 -08:00
2023-07-05 11:42:31 -07:00
2023-07-06 11:54:48 -07:00
2023-12-26 12:04:31 -08:00
2023-09-05 14:58:44 -07:00
2024-02-14 15:36:06 -08:00
2024-02-08 16:22:10 -08:00
2023-06-21 13:39:54 -07:00
2023-05-12 14:54:14 -07:00
2023-07-06 11:54:48 -07:00
2023-06-29 16:43:21 -07:00
2024-02-28 09:47:03 -08:00
2024-02-08 16:22:10 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-02-08 16:22:10 -08:00
2024-02-28 09:47:03 -08:00
2024-02-08 16:22:05 -08:00
2023-08-04 10:52:31 -07:00
2024-02-08 16:22:10 -08:00
2023-07-13 17:24:00 -07:00
2023-11-26 10:10:50 +09:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:33 -08:00
2024-01-02 09:24:48 -08:00
2023-12-26 12:04:31 -08:00
2023-12-26 12:04:31 -08:00
2024-02-08 16:22:10 -08:00
2023-06-21 13:39:53 -07:00
2023-07-27 15:26:37 -07:00
2023-06-21 13:39:53 -07:00
2024-02-08 16:22:10 -08:00
2024-02-08 16:22:10 -08:00
2024-02-12 13:16:11 -08:00
2023-07-06 11:54:46 -07:00
2023-12-26 12:04:31 -08:00
2023-07-05 11:41:18 -07:00
2024-02-12 13:16:11 -08:00
2023-07-05 11:41:59 -07:00
2023-12-26 12:04:31 -08:00
2023-10-02 11:20:00 -07:00
2023-12-26 12:04:31 -08:00
2023-06-21 13:39:53 -07:00
2023-06-21 13:39:53 -07:00
2023-06-29 16:43:21 -07:00
2024-01-18 12:17:41 -08: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-02-08 16:22:10 -08:00
2023-06-21 13:39:53 -07:00