Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn-plugin-changed git-range command with only one commit hash #12

Open
Piero87 opened this issue Jul 27, 2021 · 1 comment
Open

yarn-plugin-changed git-range command with only one commit hash #12

Piero87 opened this issue Jul 27, 2021 · 1 comment

Comments

@Piero87
Copy link

Piero87 commented Jul 27, 2021

Hello,
I'm using your plugin and I wanna see changes for one commit hash instead of a git range, I've tried this:

yarn changed list --git-range 6032ef1a9ac712c6ce64714cd6589a06eb48df00..6032ef1a9ac712c6ce64714cd6589a06eb48df00 --json

using the same hash but give me no changes, it is possible?

@tommy351
Copy link
Member

The --git-range option doesn't have to be a Git range. This option is passed to git diff command directly. You can try this:

yarn changed list --git-range 6032ef1a9ac712c6ce64714cd6589a06eb48df00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants