gitea/routers/web/repo
zeripath ffc08c1914
Do not read or write git reference files directly (#18079)
Git will and can pack references into packfiles and therefore if you write/read the
files directly you will get false results. Instead you should use update-ref and
show-ref. To that end I have created three new functions in git/repo_commit.go that
will do this correctly.

Related #17191

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-12-23 21:44:00 +08:00
..
activity.go
attachment.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
blame.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
branch.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
commit.go Add missing `X-Total-Count` and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
compare.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
download.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
editor.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
editor_test.go
http.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
http_test.go
issue.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
issue_content_history.go
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 Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
main_test.go
middlewares.go
migrate.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
milestone.go
projects.go Use JSON module instead of stdlib json (#18003) 2021-12-17 09:15:02 +08:00
projects_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
pull.go Do not read or write git reference files directly (#18079) 2021-12-23 21:44:00 +08:00
pull_review.go
release.go Clean legacy SimpleMDE code (#17926) 2021-12-10 10:51:27 +08:00
release_test.go
repo.go Ensure that git repository is closed before transfer (#18049) 2021-12-21 10:01:58 +08:00
search.go
setting.go Add Reindex buttons to repository settings page (#17494) 2021-12-16 23:55:12 +08:00
setting_protected_branch.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
settings_test.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
tag.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
topic.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
view.go Shorten page title in file view (#17987) 2021-12-15 15:50:11 +08:00
webhook.go
wiki.go Clean legacy SimpleMDE code (#17926) 2021-12-10 10:51:27 +08:00
wiki_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00