Skip to content

Commit 36c0da6

Browse files
committed
fix(scripts/check_unstaged.sh): add argument separator in git diff command
1 parent 6bb4bdb commit 36c0da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_unstaged.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [[ "$FILES" != "" ]]; then
2020
log "These are the changes:"
2121
log
2222
for file in "${files[@]}"; do
23-
git --no-pager diff "$file" 1>&2
23+
git --no-pager diff -- "$file" 1>&2
2424
done
2525

2626
log

0 commit comments

Comments
 (0)