forgejo/services/repository/files
zeripath e69b7a92ed
Allow API to create file on empty repo (#19224)
This PR adds the necessary work to make it possible to create files on empty
repos using the API.

Fix #10993

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-28 21:48:41 +02:00
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
commit.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
content.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
content_test.go Set is_empty in fixtures (#18869) 2022-02-26 01:15:25 -05:00
delete.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
diff.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
diff_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
patch.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
temp_repo.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
tree.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
update.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
upload.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00