From 655b6b211ae6df0186abd740f248939f7ddeaec1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 16:59:18 +0800 Subject: Add descriptive comments to most Go functions --- git_init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git_init.go') 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 -- cgit v1.2.3