Skip to content

Commit 765c368

Browse files
committed
fix: use correct tree hash
1 parent 73847b9 commit 765c368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/wip_ctl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ func (wipCtl WipController) GetWipChanges(ctx context.Context, w *api.JiaozifsRe
340340
w.Error(err)
341341
return
342342
}
343-
treeHash = commit.Hash
343+
treeHash = commit.TreeHash
344344
}
345345

346346
if bytes.Equal(treeHash, wip.CurrentTree) {

0 commit comments

Comments
 (0)