diff options
author | Zhizhen He <hezhizhen.yi@gmail.com> | 2023-09-08 09:30:43 +0800 |
---|---|---|
committer | Zhizhen He <hezhizhen.yi@gmail.com> | 2023-09-08 09:30:43 +0800 |
commit | 32975ee2c72d60121c37aa969d70b3b9953cd76a (patch) | |
tree | 6bda6979ebd8e0ea3e0bca518a8b8ab852b100b3 /config/config.go | |
parent | 51e9c9f1d9261568573a8b4bd50e8694e14839f7 (diff) | |
download | go-git-32975ee2c72d60121c37aa969d70b3b9953cd76a.tar.gz |
*: fix some typos
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/config.go b/config/config.go index 82af12d..da425a7 100644 --- a/config/config.go +++ b/config/config.go @@ -63,9 +63,9 @@ type Config struct { } User struct { - // Name is the personal name of the author and the commiter of a commit. + // Name is the personal name of the author and the committer of a commit. Name string - // Email is the email of the author and the commiter of a commit. + // Email is the email of the author and the committer of a commit. Email string } @@ -77,9 +77,9 @@ type Config struct { } Committer struct { - // Name is the personal name of the commiter of a commit. + // Name is the personal name of the committer of a commit. Name string - // Email is the email of the the commiter of a commit. + // Email is the email of the committer of a commit. Email string } @@ -157,8 +157,8 @@ func ReadConfig(r io.Reader) (*Config, error) { } // LoadConfig loads a config file from a given scope. The returned Config, -// contains exclusively information fom the given scope. If couldn't find a -// config file to the given scope, a empty one is returned. +// contains exclusively information from the given scope. If it couldn't find a +// config file to the given scope, an empty one is returned. func LoadConfig(scope Scope) (*Config, error) { if scope == LocalScope { return nil, fmt.Errorf("LocalScope should be read from the a ConfigStorer") |