From a8415b01d05cb9ea937882417c2b61b26e54c294 Mon Sep 17 00:00:00 2001 From: skshetry Date: Tue, 30 Aug 2022 22:51:39 +0545 Subject: [PATCH] data status: fix quoting on command hints for untracked files (#8211) data status: fix quoting on command hints --- dvc/commands/data.py | 2 +- tests/unit/command/test_data_status.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/commands/data.py b/dvc/commands/data.py index b1ff26ced..13ad7dbcd 100644 --- a/dvc/commands/data.py +++ b/dvc/commands/data.py @@ -41,7 +41,7 @@ class CmdDataStatus(CmdBase): ), "untracked": ( 'use "git add ..." or ' - 'dvc add ..." to commit to git or to dvc', + '"dvc add ..." to commit to git or to dvc', ), "git_dirty": ( "there are {}changes not tracked by dvc, " diff --git a/tests/unit/command/test_data_status.py b/tests/unit/command/test_data_status.py index 1f7b09edc..8635f3da1 100644 --- a/tests/unit/command/test_data_status.py +++ b/tests/unit/command/test_data_status.py @@ -132,7 +132,7 @@ DVC uncommitted changes: if "--untracked-files" in args: expected_out += """ Untracked files: - (use "git add ..." or dvc add ..." to commit to git or to dvc) + (use "git add ..." or "dvc add ..." to commit to git or to dvc) untracked """ if "--unchanged" in args: