diff: --hide-missing
doesn't seem to work
#7620
Labels
A: status
Related to the dvc diff/list/status
diff/show
Related to the diff/show feature
regression
Ohh, we broke something :-(
Bug Report
Description
The documentation seems to suggest that I can list only dvc files that have been explicitly checked out, ignoring any that don't exist in the local cache. This is would be very useful in my particular workflow as I am primarily doing partial checkouts of specific datasets in DVC. E.g., fetching only a specific directory of dvc files.
However, the issue is that
--hide-missing
doesn't seem to work. This was confirmed by Gao on the discord server.Reproduce
dvc add
andpush
several files.git commit
andpush
to a remotedvc pull
a single specific filedvc diff
and note that all the unpulled files are marked as deleteddvc diff --hide-missing
and note that the diff is identical to the previous commandExpected
The expected behavior is that the is no output with
--hide-missing
as the unpulled files are hidden and the one explicitly pulled file has not been modified.Environment information
The text was updated successfully, but these errors were encountered: