Skip to content

Conversation

@efiop
Copy link
Contributor

@efiop efiop commented Apr 2, 2020

Makes it easier to use in shell scripts. E.g. -z $(dvc metrics diff), which
has the same semantics as git diff. Also syncs up with the behaviour
of dvc diff.

Fixes #3469

  • ❗ I have followed the Contributing to DVC checklist.

  • 📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here. If the CLI API is changed, I have updated tab completion scripts.

  • ❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Makes it easier to use in shell scripts. E.g. `-z $(dvc metrics diff)`, which
has the same semantics as `git diff`. Also syncs up with the behaviour
of `dvc diff`.

Fixes treeverse#3469
@efiop efiop changed the title dvc: print "No changes" to stderr for diff and metrics diff metrics: diff: don't print "No changes" Apr 2, 2020
@efiop efiop merged commit 8e675a9 into treeverse:master Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

metrics diff with missing old value

1 participant