8000 Can't use diff with multiple paths · Issue #584 · ruby-git/ruby-git · GitHub
[go: up one dir, main page]

Skip to content
Can't use diff with multiple paths #584
Open
@revolter

Description

@revolter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0