diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
commit | 655b6b211ae6df0186abd740f248939f7ddeaec1 (patch) | |
tree | ec5cdbbc52222f62c8fbb0bcf2a1aa7a9f6eb8b6 /git_init.go | |
parent | Correct table headers in MR indices (diff) | |
download | forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.gz forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.zst forge-655b6b211ae6df0186abd740f248939f7ddeaec1.zip |
Add descriptive comments to most Go functions
Diffstat (limited to '')
-rw-r--r-- | git_init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git_init.go b/git_init.go index 3ea4f58..f1a283e 100644 --- a/git_init.go +++ b/git_init.go @@ -9,8 +9,8 @@ import ( gitFmtConfig "github.com/go-git/go-git/v5/plumbing/format/config" ) -// gitInit initializes a bare git repository with the -// forge-deployed hooks directory as the hooksPath. +// gitInit initializes a bare git repository with the forge-deployed hooks +// directory as the hooksPath. func gitInit(repoPath string) (err error) { var repo *git.Repository var gitConf *gitConfig.Config |