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 /remote.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 'remote.go')
-rw-r--r-- | remote.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |