Skip to content

Commit

Permalink
fix orphaned files (without --diff-filter) (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed May 27, 2024
1 parent 128d816 commit 0567c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _AutoinstallCreator/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 0567c21

Please sign in to comment.