mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-26 03:59:44 +08:00
296814e887
* Use git plumbing for upload: #5621 repo_editor.go: UploadRepoFile
* Use git plumbing for upload: #5621 repo_editor.go: GetDiffPreview
* Use git plumbing for upload: #5621 repo_editor.go: DeleteRepoFile
* Use git plumbing for upload: #5621 repo_editor.go: UploadRepoFiles
* Move branch checkout functions out of repo_editor.go as they are no longer used there
* BUGFIX: The default permissions should be 100644
This is a change from the previous code but is more in keeping
with the default behaviour of git.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Standardise cleanUploadFilename to more closely match git
See verify_path in:
|
||
---|---|---|
.. | ||
activity.go | ||
attachment.go | ||
branch.go | ||
commit.go | ||
download.go | ||
editor_test.go | ||
editor.go | ||
http.go | ||
issue_dependency.go | ||
issue_label_test.go | ||
issue_label.go | ||
issue_stopwatch.go | ||
issue_timetrack.go | ||
issue_watch.go | ||
issue.go | ||
main_test.go | ||
middlewares.go | ||
milestone.go | ||
pull_review.go | ||
pull.go | ||
release_test.go | ||
release.go | ||
repo.go | ||
search.go | ||
setting_protected_branch.go | ||
setting.go | ||
settings_test.go | ||
topic.go | ||
view.go | ||
webhook.go | ||
wiki_test.go | ||
wiki.go |