forgejo/routers/web/repo
6543 0274933c22
Fix git.Blob.DataAsync(): close pipe since we return a NopCloser (#16899) (#16900)
* make sure headGitRepo is closed on err too
* refactor
* Fix git.Blob.DataAsync(): exec cancel since we already read all bytes (close pipe since we return a NopCloser)

Co-authored-by: zeripath <art27@cantab.net>
2021-08-31 16:06:01 +08:00
..
activity.go
attachment.go
blame.go Link to previous blames in file blame page (#16259) 2021-06-28 01:13:20 +02:00
branch.go Fix branch pagination error (#16805) (#16816) 2021-08-25 11:11:54 +01:00
commit.go Repare and Improve GetDiffRangeWithWhitespaceBehavior (#16894) (#16895) 2021-08-31 05:02:27 +02:00
compare.go Fix git.Blob.DataAsync(): close pipe since we return a NopCloser (#16899) (#16900) 2021-08-31 16:06:01 +08:00
download.go
editor.go
editor_test.go
http.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
http_test.go
issue.go Fix git.Blob.DataAsync(): close pipe since we return a NopCloser (#16899) (#16900) 2021-08-31 16:06:01 +08:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
migrate.go Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
milestone.go In Render tolerate not being passed a context (#16842) (#16858) 2021-08-29 15:25:45 +01:00
projects.go In Render tolerate not being passed a context (#16842) (#16858) 2021-08-29 15:25:45 +01:00
projects_test.go
pull.go Fix git.Blob.DataAsync(): close pipe since we return a NopCloser (#16899) (#16900) 2021-08-31 16:06:01 +08:00
pull_review.go Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
release.go In Render tolerate not being passed a context (#16842) (#16858) 2021-08-29 15:25:45 +01:00
release_test.go
repo.go Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
search.go
setting.go Add missing return to handleSettingRemoteAddrError (#16794) (#16795) 2021-08-23 18:09:28 -04:00
setting_protected_branch.go
settings_test.go
tag.go Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
topic.go
view.go Fix external renderer (#16401) 2021-07-12 17:13:59 -04:00
webhook.go Implemented head_commit for webhooks (#16282) 2021-06-29 15:34:03 +02:00
wiki.go Ensure wiki repos are all closed (#16886) (#16888) 2021-08-30 23:00:45 +02:00
wiki_test.go Add TestPrepareWikiFileName (#16487) (#16498) 2021-07-21 03:37:00 +01:00