0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 18:34:10 -05:00
forgejo/services/repository/files
wxiaoguang a90988d63f
Update repo's default branch when adding new files in an empty one (#25017)
Fix #25014

Only API needs this fix. On the Web UI, users could only add new file on
the default branch.
2023-05-31 17:07:51 +08:00
..
cherry_pick.go
commit.go
content.go
content_test.go
diff.go
diff_test.go
file.go API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
file_test.go
patch.go
temp_repo.go
tree.go
tree_test.go
update.go Update repo's default branch when adding new files in an empty one (#25017) 2023-05-31 17:07:51 +08:00
upload.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00