aboutsummaryrefslogtreecommitdiff
path: root/internal/plan/chain.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/plan/chain.go')
-rw-r--r--internal/plan/chain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/plan/chain.go b/internal/plan/chain.go
index 7c95d9b..f24bbfe 100644
--- a/internal/plan/chain.go
+++ b/internal/plan/chain.go
@@ -92,7 +92,7 @@ func Build(root string, in []Input, now time.Time, d Disk, claims *Claims) []Cha
// buildOne builds the chain for a single file. claim is shared with every
// other file processed by the same Build call.
func buildOne(root string, in Input, now time.Time, d Disk, claim claimed) Chain {
- c := Chain{File: in.File}
+ c := Chain{File: in.File, Root: root}
cur := in.File.Path
var deletedBy string