diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 21:19:55 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 21:19:55 +0800 |
commit | 9c4f62a4a0705657404745c84d9ba9472d32def5 (patch) | |
tree | 08d4b42a2a826228af5e38b846465f745421aa65 /git_misc.go | |
parent | resources: Serve source and static properly (diff) | |
download | forge-9c4f62a4a0705657404745c84d9ba9472d32def5.tar.gz forge-9c4f62a4a0705657404745c84d9ba9472d32def5.tar.zst forge-9c4f62a4a0705657404745c84d9ba9472d32def5.zip |
*: category -> group
Diffstat (limited to 'git_misc.go')
-rw-r--r-- | git_misc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git_misc.go b/git_misc.go index 64d1ff5..984d0f2 100644 --- a/git_misc.go +++ b/git_misc.go @@ -11,8 +11,8 @@ import ( "go.lindenii.runxiyu.org/lindenii-common/misc" ) -func open_git_repo(category_name, repo_name string) (*git.Repository, error) { - return git.PlainOpen(filepath.Join(config.Git.Root, category_name, repo_name+".git")) +func open_git_repo(group_name, repo_name string) (*git.Repository, error) { + return git.PlainOpen(filepath.Join(config.Git.Root, group_name, repo_name+".git")) } func build_display_git_tree(tree *object.Tree) []display_git_tree_entry_t { |