aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport
diff options
context:
space:
mode:
authorAntonio Navarro Perez <antnavper@gmail.com>2016-12-16 19:30:36 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2016-12-16 19:30:36 +0100
commit950676c36030a8796c0a69a8aae606ff1f448b03 (patch)
tree8edfd1baa31e83a396d263c2d0fed1a4d09a83dc /plumbing/transport
parentc49d8e374443180ff68404c904ccad5d87f9073e (diff)
downloadgo-git-950676c36030a8796c0a69a8aae606ff1f448b03.tar.gz
packfile: delta selection logic (#182)
* packfile: delta selection logic - Implemented logic to assign deltas to objects * Requested changes * Improved tests and fix errors
Diffstat (limited to 'plumbing/transport')
-rw-r--r--plumbing/transport/test/send_pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/test/send_pack.go b/plumbing/transport/test/send_pack.go
index 94a1150..8cb549d 100644
--- a/plumbing/transport/test/send_pack.go
+++ b/plumbing/transport/test/send_pack.go
@@ -275,7 +275,7 @@ func (s *SendPackSuite) testSendPackDeleteReference(c *C) {
func (s *SendPackSuite) emptyPackfile() io.ReadCloser {
var buf bytes.Buffer
- e := packfile.NewEncoder(&buf, memory.NewStorage())
+ e := packfile.NewEncoder(&buf, memory.NewStorage(), false)
_, err := e.Encode(nil)
if err != nil {
panic(err)