From 872b11dfa833455a551699c43283211e2943482d Mon Sep 17 00:00:00 2001 From: Alexandr Reshetnikov Date: Wed, 15 May 2024 16:43:57 -0700 Subject: [PATCH] fix orphaned files (without --diff-filter) (#54) --- _AutoinstallCreator/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_AutoinstallCreator/release.sh b/_AutoinstallCreator/release.sh index abc870de..28e10fca 100755 --- a/_AutoinstallCreator/release.sh +++ b/_AutoinstallCreator/release.sh @@ -21,7 +21,7 @@ rm -rf "$temp_dir_path" && mkdir -p "$temp_dir_path" (cd "$dp0/.." && git archive --format tar --output "$temp_dir_path/git_archive_files.tar" HEAD) { - comm -23 <(git log --pretty=format: --name-only --diff-filter=A | grep . | sort | uniq) \ + comm -23 <(git log --pretty=format: --name-only | grep . | sort | uniq) \ <(tar --list --file "$temp_dir_path/git_archive_files.tar" | grep -v /$ | sort | uniq) } >"$orphaned_files_filepath"