aboutsummaryrefslogtreecommitdiff
path: root/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'repo.go')
-rw-r--r--repo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repo.go b/repo.go
index ec5935d..e5a73ec 100644
--- a/repo.go
+++ b/repo.go
@@ -345,7 +345,7 @@ func slice2fileList(s slice.Slice) (ret []File) {
func (r *Repo) storeFileList(version int, list []File) {
dest := filepath.Join(r.path, fmt.Sprintf(versionFmt, version), filesName)
delta := slice.Diff(fileList2slice(r.files), fileList2slice(list))
- logger.Info("files delta del: ", len(delta.Del), ", ins: ", len(delta.Ins))
+ logger.Infof("files delta %s", delta.String())
storeBasicStruct(dest, utils.NopWriteWrapper, delta)
}
@@ -713,7 +713,7 @@ func slice2recipe(s slice.Slice) (ret []Chunk) {
func (r *Repo) storeRecipe(version int, recipe []Chunk) {
dest := filepath.Join(r.path, fmt.Sprintf(versionFmt, version), recipeName)
delta := slice.Diff(recipe2slice(r.recipe), recipe2slice(recipe))
- logger.Info("recipe delta del: ", len(delta.Del), ", ins:", len(delta.Ins))
+ logger.Infof("recipe delta %s", delta.String())
storeBasicStruct(dest, utils.NopWriteWrapper, delta)
}