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

Can't use diff with multiple paths #584

Open
revolter opened this issue May 24, 2022 · 0 comments
Open

Can't use diff with multiple paths #584

revolter opened this issue May 24, 2022 · 0 comments

Comments

@revolter
Copy link

Subject of the issue

You can't use the diff method with multiple paths.

Your environment

git version 2.32.0 (Apple Git-132)
git (1.10.0)
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [arm64-darwin21]

Steps to reproduce

puts(Git.open('.').diff.path('dir_a dir_b'))

Expected behaviour

The diff for the files under the directories dir_a and dir_b should be displayed.

Actual behaviour

No diff is displayed.

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

1 participant