-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
composer-lock-diff/composer-lock-diff
Line 185 in 817bb8f
exec('git show '. escapeshellarg($fileish), $lines, $exit); |
git show
called here does not expect DIRECTORY_SEPARATOR
in path. It always expect linux style separators (in general these starts to be revision notation, not a paths at all
So when I just call composer-lock-diff
or composer-lock-diff --from="HEAD:.\composer.lock"
it gives me
Error: contents from HEAD:.\composer.lock does not decode as json
If I manually provide it --from="HEAD:./composer.lock"
it works well.
So I hope when play comes to git show
we should forcibly replace directory separators to /
?
dariusj18
Metadata
Metadata
Assignees
Labels
No labels