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-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
2023-08-12 07:33:12 +00: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-07-24 07:18:17 +00:00
2023-07-14 11:00:31 +08: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-07-24 04:57:21 +00:00
2023-08-09 09:30:31 +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-08-05 10:59:52 +02:00
2023-07-04 18:36:08 +00:00
2023-07-07 05:31:56 +00:00
2023-07-21 12:14:20 +00:00
2023-07-27 16:40:35 +08:00
2023-07-14 11:00:31 +08:00
2023-07-31 06:28:53 +00:00
2023-07-04 18:36:08 +00:00
2023-08-09 14:24:07 +02: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
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-07-04 18:36:08 +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