mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix(scripts/check_unstaged.sh): add argument separator in git diff command (#17122)
This commit is contained in:
@@ -20,7 +20,7 @@ if [[ "$FILES" != "" ]]; then
|
|||||||
log "These are the changes:"
|
log "These are the changes:"
|
||||||
log
|
log
|
||||||
for file in "${files[@]}"; do
|
for file in "${files[@]}"; do
|
||||||
git --no-pager diff "$file" 1>&2
|
git --no-pager diff -- "$file" 1>&2
|
||||||
done
|
done
|
||||||
|
|
||||||
log
|
log
|
||||||
|
|||||||
Reference in New Issue
Block a user