From 6b6abf2d5645b368735188c93442fc08c94365d5 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 3 Aug 2026 01:30:51 +0300 Subject: fix(docs): support older git in snapshot checks --- website/scripts/docs-snapshot.mjs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'website/scripts') diff --git a/website/scripts/docs-snapshot.mjs b/website/scripts/docs-snapshot.mjs index 6a1d1bc6..b85557a1 100644 --- a/website/scripts/docs-snapshot.mjs +++ b/website/scripts/docs-snapshot.mjs @@ -36,15 +36,7 @@ export function gitTreesEqual(git, ref, left, right) { } export function listGitEntries(git, ref, root) { - const output = git([ - 'ls-tree', - '-r', - '-z', - '--format=%(objectmode) %(objecttype) %(objectname)%x09%(path)', - ref, - '--', - root, - ]); + const output = git(['ls-tree', '-r', '-z', ref, '--', root]); return output .split('\0') .filter(Boolean) -- cgit v1.2.3