davidrjonas / composer-lock-diff

See what has changed after a composer update
MIT License
276 stars 18 forks source link

Support composer.lock in subdirectory #45

Closed christophlehmann closed 6 months ago

christophlehmann commented 6 months ago

When my composer.lock is in a subdirectory, then composer-lock-diff fails with

Failed to find '' with 'vcsLoadGit'; 'git show HEAD:composer.lock' exited with non-zero code '128'.

christophlehmann commented 6 months ago

I executed it in the subdirectory

christophlehmann commented 6 months ago

Okay, works with composer-lock-diff --path subdirectory 👍