From cdf3336e7a3d7573450f7fe4171cdab47cc65f69 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Thu, 8 Jan 2015 20:49:32 +0100 Subject: [PATCH] Improve error message for newer files --- archiver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiver.go b/archiver.go index 4f8e04385..3e15e1bd4 100644 --- a/archiver.go +++ b/archiver.go @@ -111,7 +111,7 @@ func (arch *Archiver) SaveFile(node *Node) error { } if fi.ModTime() != node.ModTime { - e2 := arch.Error(node.path, fi, errors.New("file changed as we read it\n")) + e2 := arch.Error(node.path, fi, errors.New("file was updated, using new version\n")) if e2 == nil { // create new node