mirror of
1
Fork 0
forgejo/services/repository/files
Gusted 568e668fb8
[GITEA] Add download URL for executable files
- Consider executable files as a valid case when returning a downloadURL
for them. They are just regular files with the difference being the
executable permission bit being set.
- Not integration testing as it's not possible without adding adjusting
the existing repositories to have a executable file.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1825

(cherry picked from commit ca32891d54)
(cherry picked from commit 72c9df8e45)
(cherry picked from commit 0eae22d429)
(cherry picked from commit d37d0773bc)
(cherry picked from commit de4532a967)
(cherry picked from commit f5b41300a8)
(cherry picked from commit d3be0480b7)
(cherry picked from commit c72307fd3b)
(cherry picked from commit 71db593057)
2024-01-28 10:54:59 +01:00
..
cherry_pick.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
commit.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
content.go [GITEA] Add download URL for executable files 2024-01-28 10:54:59 +01:00
content_test.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
diff.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
diff_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
file.go [GITEA] Allow user to select email for file operations in Web UI 2024-01-28 10:54:59 +01:00
file_test.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
patch.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
temp_repo.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
tree.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
tree_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
update.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
upload.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00