aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/advrefs_decode.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2016-12-06 15:49:01 +0100
committerGitHub <noreply@github.com>2016-12-06 15:49:01 +0100
commit4429dffca6f4185d09a22725baa728b535c009a7 (patch)
tree416ef14e79ee1d9cd9bfde30c0ceff7d8bbaa4e4 /plumbing/protocol/packp/advrefs_decode.go
parent22fe81f342538ae51442a72356036768f7f1a2f9 (diff)
downloadgo-git-4429dffca6f4185d09a22725baa728b535c009a7.tar.gz
protocol/packp: add report status message. (#162)
Diffstat (limited to 'plumbing/protocol/packp/advrefs_decode.go')
-rw-r--r--plumbing/protocol/packp/advrefs_decode.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/plumbing/protocol/packp/advrefs_decode.go b/plumbing/protocol/packp/advrefs_decode.go
index 964e3eb..c42c589 100644
--- a/plumbing/protocol/packp/advrefs_decode.go
+++ b/plumbing/protocol/packp/advrefs_decode.go
@@ -119,10 +119,6 @@ func isPrefix(payload []byte) bool {
return len(payload) > 0 && payload[0] == '#'
}
-func isFlush(payload []byte) bool {
- return len(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
// advertised ref.