agyss
5b3575a8be
fix(repo): /generate must sync the branch table for the new repo ( #37693 )
...
Two bugs in GenerateGitContent, the function behind
`POST /api/v1/repos/{owner}/{template}/generate`:
1. The new repository's refs were not written `branch` DB table
2. The function re-fetched the new repo row from the database
but reassigned its local pointer
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-05-15 07:24:40 +00:00
..
2026-03-25 16:07:59 -07:00
2026-02-28 11:23:20 -08:00
2026-05-07 16:19:45 +02:00
2026-05-08 04:49:34 +00:00
2026-03-08 14:35:50 +00:00
2026-03-13 01:20:58 +00:00
2025-08-28 03:52:43 +00:00
2025-11-07 09:44:09 +08:00
2026-05-07 16:19:45 +02:00
2025-12-05 00:20:23 +00:00
2026-02-01 17:06:57 +08:00
2026-01-13 13:13:39 +00:00
2026-01-13 13:13:39 +00:00
2025-08-28 03:52:43 +00:00
2026-03-13 09:58:44 -07:00
2025-08-28 03:52:43 +00:00
2026-05-15 07:24:40 +00:00
2025-08-28 03:52:43 +00:00
2026-02-01 17:06:57 +08:00
2025-08-28 03:52:43 +00:00
2026-02-11 00:16:05 +00:00
2026-02-25 01:21:07 +00:00
2026-05-15 07:24:40 +00:00
2025-09-01 11:12:58 -07:00
2026-05-15 07:24:40 +00:00
2026-02-12 15:27:19 -08:00
2026-02-12 15:27:19 -08:00
2025-04-01 10:14:01 +00:00
2025-03-10 06:40:37 +08:00
2025-12-10 09:41:01 -08:00
2026-02-11 00:16:05 +00:00
2026-05-07 16:19:45 +02:00
2025-08-28 03:52:43 +00:00
2026-02-28 11:23:20 -08:00
2026-03-24 20:13:08 +00:00
2026-03-24 20:13:08 +00:00
2025-07-22 10:02:01 -07:00
2026-03-21 06:54:28 +00:00
2025-08-28 03:52:43 +00:00
2026-05-09 16:32:49 +00:00