-
Notifications
You must be signed in to change notification settings - Fork 533
Set default location on #ls_files to . #320
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
Conversation
If we pass in nil, git will output a warning about empty strings in pathspec. See: git/git@d426430
The failing test is the Ruby 1.9.2 matrix, and there's another PR to remove support for it, as it's been deprecated for months. |
This gets more urgent since git version 2.16.0 - it now throws a error: https://github.com/git/git/blob/master/Documentation/RelNotes/2.16.0.txt#L6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not def ls_files(location=nil)
?
Is this being tackled? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still a problem. |
I merged in |
No feedback received. @gudmundur, if you'll do a rebase and ping me, I can reopen this. Closing for now. |
Fixed in #350 |
If a
nil
is passed in to#ls_files
, git will output a warning about empty strings in pathspec. At a future date, git will start failing on such arguments. See here for more context.