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
How can I get the files deleted? #13
Comments
@sindresorhus The array returns deleted files, and deleted directories (if you used a globbing pattern). This makes sense, because the array contains deleted paths, and if any directories were deleted, then they should be included in that array. And yet... should that be the case? My expectation was the array contains files deleted, not directories. I expect this is a tricky one, because some people may want them included in the array, and others would not. I don't want them included, but I'm sure others will have a use case for it. What do you think? |
@sindresorhus This is what I mean. If I knew how to use GIT I would submit the following change... Sorry! By default, the returned array contains all paths deleted, both directories and files. But if you set the This is what I think many, but not all people, would really be interested in. And they can have it both ways depends on their use case.
What do you think? |
Is it possible through some option to return a set of filenames/paths which were actually deleted (i.e. which matched my pattern)?
The text was updated successfully, but these errors were encountered: