gc --not-in-remote
: misleading warning message
#10590
Labels
A: gc
Related go garbage collection
bug
Did we break something?
good first issue
p2-medium
Medium priority, should be done, but less important
Bug Report
Description
The warning message printed when using the
--not-in-remote
flag appears to be incorrect. The behavior of the flag appears correct (consistent with the documentation); the warning message is not consistent with behavior or documentation.Reproduce
dvc gc --workspace --not-in-remote
Prints the following warning:
The actual behavior for this command is to keep only the local cache items that are: a) referenced in the current workspace, and b) not present in the remote.
Expected
The warning message should read, perhaps,
(That is, just adding the word "not".)
Environment information
Output of
dvc doctor
:$ dvc doctor
The text was updated successfully, but these errors were encountered: