From 7e058737a36311065a00b0cd99669e6fbfee8e73 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Wed, 29 Oct 2025 01:06:04 +0530 Subject: [PATCH] Ensure the ignore list of files is unique before diffing --- packcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packcheck.sh b/packcheck.sh index 34a4d48..b800d2e 100755 --- a/packcheck.sh +++ b/packcheck.sh @@ -1533,10 +1533,10 @@ your .packcheck.ignore file." local sane_ignore_file=".packcheck/sane-ignore" printf "$pi_files_exist" > "$sane_ignore_file" cat "$sane_ignore_file" .packcheck/tar-ztf.txt \ - | sort | grep -v '^$' > .packcheck/tar-ztf1.txt + | sort | grep -v '^$' | uniq > .packcheck/tar-ztf1.txt else cat .packcheck/tar-ztf.txt \ - | sort | grep -v '^$' > .packcheck/tar-ztf1.txt + | sort | grep -v '^$' | uniq > .packcheck/tar-ztf1.txt fi git ls-files | sort | grep -v '^$' > .packcheck/git-ls-files.txt local diff_res_file=".packcheck/tar-git-diff.txt"