From f7ff5b766cf8c604cb3018b587ec1183e8c30e84 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 25 Oct 2015 15:35:18 +0100 Subject: [PATCH] Mark written indexes as finalized --- repository/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/repository.go b/repository/repository.go index 35d508122..5f1650c62 100644 --- a/repository/repository.go +++ b/repository/repository.go @@ -517,7 +517,7 @@ func (r *Repository) saveIndex(indexes ...*Index) error { return err } - err = idx.Encode(blob) + err = idx.Finalize(blob) if err != nil { return err }