From c8acb26d6fd39c13bde1d690b0495ee045dbbd5c Mon Sep 17 00:00:00 2001 From: J23 Date: Tue, 17 Dec 2024 16:47:19 +0800 Subject: [PATCH] merge: fix ours/theris --- pkg/zeta/merge_tree.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/zeta/merge_tree.go b/pkg/zeta/merge_tree.go index ba25afe..7049f96 100644 --- a/pkg/zeta/merge_tree.go +++ b/pkg/zeta/merge_tree.go @@ -221,12 +221,12 @@ func (r *Repository) mergeTree(ctx context.Context, into, from, base *object.Com return nil, err } r.DbgPrint("merge from %s to %s base: %s", from.Hash, into.Hash, base0) - a, err := from.Root(ctx) + a, err := into.Root(ctx) if err != nil { die_error("read tree '%s:' %v", from.Hash, err) return nil, err } - b, err := into.Root(ctx) + b, err := from.Root(ctx) if err != nil { die_error("read tree '%s:' %v", into.Hash, err) return nil, err