gitea/modules/gitrepo
wxiaoguang 61be51e56b
Refactor markup package ()
To make the markup package easier to maintain:
1. Split some go files into small files
2. Use a shared util.NopCloser, remove duplicate code
3. Remove unused functions
..
branch.go Move get/set default branch from git package to gitrepo package to hide repopath ()
gitrepo.go Refactor markup package ()
url.go Use repo as of renderctx's member rather than a repoPath on metas ()
walk_gogit.go Simplify how git repositories are opened ()
walk_nogogit.go Simplify how git repositories are opened ()