Jack Hay
c5888eb985
Set commit id when ref used explicitly ( #26447 )
...
In the `RepoRefForAPI()` context function `CommitID` is not set if `ref`
is used. It is set correctly for other if/else branches where `Commit`
is set. It doesn't appear that any routes that use `RepoRefForAPI()`
also use `CommitID` but that may be the case in the future.
## Changes
- Sets `ctx.Repo.CommitID` when `ref` is explicitly used for api routes
that use `RepoRefForAPI()`
2023-08-12 07:33:12 +00:00
..
2023-08-05 14:26:06 +08:00
2023-07-09 11:58:06 +00:00
2023-08-07 15:00:53 -04:00
2023-07-17 09:47:55 +00:00
2023-04-12 18:16:45 +08:00
2023-07-20 19:52:42 +08:00
2023-07-04 18:36:08 +00:00
2023-07-27 22:24:40 +02:00
2023-07-04 18:36:08 +00:00
2022-11-27 18:20:29 +00:00
2023-08-12 07:33:12 +00:00
2023-04-17 11:37:23 +08:00
2023-07-14 11:00:31 +08:00
2023-06-29 16:29:48 +00:00
2023-07-07 05:31:56 +00:00
2023-07-19 09:57:10 +00:00
2023-08-04 14:50:41 +02:00
2023-02-15 21:37:34 +08:00
2023-07-24 07:18:17 +00:00
2023-01-29 09:49:51 -06:00
2023-07-14 11:00:31 +08:00
2022-11-27 18:20:29 +00:00
2023-08-05 04:34:59 +00:00
2023-07-07 05:31:56 +00:00
2023-07-07 05:31:56 +00:00
2023-07-31 06:28:53 +00:00
2023-07-04 18:36:08 +00:00
2023-07-04 18:36:08 +00:00
2023-04-10 16:44:02 +08:00
2023-05-21 22:35:11 +00:00
2023-07-24 04:57:21 +00:00
2023-08-09 09:30:31 +00:00
2022-11-27 18:20:29 +00:00
2023-06-03 22:03:41 +08:00
2023-07-04 18:36:08 +00:00
2023-05-26 07:31:55 +00:00
2023-07-09 11:58:06 +00:00
2023-07-31 06:28:53 +00:00
2023-04-12 18:16:45 +08:00
2023-08-05 10:59:52 +02:00
2023-04-22 17:56:27 -04:00
2022-11-27 18:20:29 +00:00
2023-07-04 18:36:08 +00:00
2023-07-07 05:31:56 +00:00
2023-02-11 08:39:50 +08:00
2022-11-27 18:20:29 +00:00
2023-07-21 12:14:20 +00:00
2023-07-27 16:40:35 +08:00
2022-11-27 18:20:29 +00:00
2023-01-31 10:08:05 +01:00
2023-07-14 11:00:31 +08:00
2023-07-31 06:28:53 +00:00
2023-05-07 19:29:43 +08:00
2023-07-04 18:36:08 +00:00
2023-08-09 14:24:07 +02:00
2022-12-30 23:31:00 +08:00
2023-08-10 02:05:37 +00:00
2023-08-10 11:21:09 +00:00
2023-07-26 10:22:56 +00:00
2023-08-05 04:34:59 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-08-10 11:19:39 +08:00
2023-08-08 01:22:47 +00:00
2023-07-04 18:36:08 +00:00
2023-05-03 19:53:43 -04:00
2023-07-04 18:36:08 +00:00
2023-02-05 15:29:03 +08:00
2023-03-07 22:40:41 -05:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-07-07 05:31:56 +00:00
2023-07-04 18:36:08 +00:00
2023-07-25 22:21:09 +00:00
2023-05-24 22:06:27 -04:00