diff options
author | Santiago M. Mola <santi@mola.io> | 2016-12-06 15:49:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 15:49:01 +0100 |
commit | 4429dffca6f4185d09a22725baa728b535c009a7 (patch) | |
tree | 416ef14e79ee1d9cd9bfde30c0ceff7d8bbaa4e4 /plumbing/protocol/packp/common.go | |
parent | 22fe81f342538ae51442a72356036768f7f1a2f9 (diff) | |
download | go-git-4429dffca6f4185d09a22725baa728b535c009a7.tar.gz |
protocol/packp: add report status message. (#162)
Diffstat (limited to 'plumbing/protocol/packp/common.go')
-rw-r--r-- | plumbing/protocol/packp/common.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plumbing/protocol/packp/common.go b/plumbing/protocol/packp/common.go index 2328eda..93dfaed 100644 --- a/plumbing/protocol/packp/common.go +++ b/plumbing/protocol/packp/common.go @@ -40,3 +40,7 @@ var ( // updreq shallowNoSp = []byte("shallow") ) + +func isFlush(payload []byte) bool { + return len(payload) == 0 +} |