From 85e1ea425c6d9ab2b0ac8bcc01d7d29bafa4b3ad Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 3 Feb 2026 21:16:17 -0600 Subject: T8232: Vytree.fold_tree_with_path now returns the second component --- src/commit.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/commit.ml b/src/commit.ml index ec9c4ef..5db20bf 100644 --- a/src/commit.ml +++ b/src/commit.ml @@ -147,7 +147,7 @@ let get_node_data rt ct src (path, cs') t = in (path, cs) let get_commit_set rt ct src = - snd (VT.fold_tree_with_path (get_node_data rt ct src) ([], CS.empty) ct) + VT.fold_tree_with_path (get_node_data rt ct src) ([], CS.empty) ct (* for initial consistency with the legacy ordering of delete and add queues, enforce the following subtlety: if a path in the delete tree is -- cgit v1.2.3