aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/advrefs_encode.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-12-06 23:17:16 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2016-12-06 23:18:50 +0100
commit5990aeb7198a4961a363eeb422a3faa57c8dc029 (patch)
tree67dfad381361e34b18b9afcb36142d97a29117ac /plumbing/protocol/packp/advrefs_encode.go
parent17e3f85613b511c4134ebba5648142887a7b8812 (diff)
downloadgo-git-5990aeb7198a4961a363eeb422a3faa57c8dc029.tar.gz
revision based on goreportcard.com
Diffstat (limited to 'plumbing/protocol/packp/advrefs_encode.go')
-rw-r--r--plumbing/protocol/packp/advrefs_encode.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/protocol/packp/advrefs_encode.go b/plumbing/protocol/packp/advrefs_encode.go
index 05a9c8e..e981120 100644
--- a/plumbing/protocol/packp/advrefs_encode.go
+++ b/plumbing/protocol/packp/advrefs_encode.go
@@ -12,8 +12,8 @@ import (
// Encode writes the AdvRefs encoding to a writer.
//
-// All the payloads will end with a newline character. Capabilities,
-// references and shallows are writen in alphabetical order, except for
+// All the payloads will end with a newline character. Capabilities,
+// references and shallows are written in alphabetical order, except for
// peeled references that always follow their corresponding references.
func (a *AdvRefs) Encode(w io.Writer) error {
e := newAdvRefsEncoder(w)