aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-09-28 00:25:30 +0100
committerGitHub <noreply@github.com>2023-09-28 00:25:30 +0100
commit7d047a9f8a43bca9d137d8787278265dd3415219 (patch)
treec300f66c9a51e78b248cac238a6c3c01bf4ff130 /remote.go
parentc0e9df9ef7d3e598c2da6047aefc94b423feb9d7 (diff)
parent32975ee2c72d60121c37aa969d70b3b9953cd76a (diff)
downloadgo-git-7d047a9f8a43bca9d137d8787278265dd3415219.tar.gz
Merge pull request #836 from hezhizhen/typo
*: fix some typos
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/remote.go b/remote.go
index 679e0af..2ffffe7 100644
--- a/remote.go
+++ b/remote.go
@@ -614,7 +614,7 @@ func (r *Remote) addOrUpdateReferences(
req *packp.ReferenceUpdateRequest,
forceWithLease *ForceWithLease,
) error {
- // If it is not a wilcard refspec we can directly search for the reference
+ // If it is not a wildcard refspec we can directly search for the reference
// in the references dictionary.
if !rs.IsWildcard() {
ref, ok := refsDict[rs.Src()]
@@ -693,7 +693,7 @@ func (r *Remote) addCommit(rs config.RefSpec,
remoteRef, err := remoteRefs.Reference(cmd.Name)
if err == nil {
if remoteRef.Type() != plumbing.HashReference {
- //TODO: check actual git behavior here
+ // TODO: check actual git behavior here
return nil
}
@@ -735,7 +735,7 @@ func (r *Remote) addReferenceIfRefSpecMatches(rs config.RefSpec,
remoteRef, err := remoteRefs.Reference(cmd.Name)
if err == nil {
if remoteRef.Type() != plumbing.HashReference {
- //TODO: check actual git behavior here
+ // TODO: check actual git behavior here
return nil
}