Skip to content

Commit bf74dc6

Browse files
RembrandtKCopilot
andauthored
Update scripts/count-changes
More robust handling of unusual filenames. Co-authored-by: Copilot <[email protected]>
1 parent 1d9e114 commit bf74dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/count-changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ mkdir -p "$TEMP_DIR/old"
4949
mkdir -p "$TEMP_DIR/new"
5050

5151
# Extract all changed files
52-
echo "$FILES" | while read -r file; do
52+
echo "$FILES" | while IFS= read -r file; do
5353
if [ -f "$file" ]; then
5454
# Create directory structure
5555
dir=$(dirname "$file")

0 commit comments

Comments
 (0)