aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/advrefs_decode.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_decode.go
parent17e3f85613b511c4134ebba5648142887a7b8812 (diff)
downloadgo-git-5990aeb7198a4961a363eeb422a3faa57c8dc029.tar.gz
revision based on goreportcard.com
Diffstat (limited to 'plumbing/protocol/packp/advrefs_decode.go')
-rw-r--r--plumbing/protocol/packp/advrefs_decode.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/protocol/packp/advrefs_decode.go b/plumbing/protocol/packp/advrefs_decode.go
index c42c589..fddd69b 100644
--- a/plumbing/protocol/packp/advrefs_decode.go
+++ b/plumbing/protocol/packp/advrefs_decode.go
@@ -119,8 +119,8 @@ func isPrefix(payload []byte) bool {
return len(payload) > 0 && payload[0] == '#'
}
-// If the first hash is zero, then a no-refs is comming. Otherwise, a
-// list-of-refs is comming, and the hash will be followed by the first
+// If the first hash is zero, then a no-refs is coming. Otherwise, a
+// list-of-refs is coming, and the hash will be followed by the first
// advertised ref.
func decodeFirstHash(p *advRefsDecoder) decoderStateFn {
// If the repository is empty, we receive a flush here (HTTP).