From 2d21c4a6e8b9458264227cb979b2cfd117eddf9d Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 28 Dec 2018 13:59:03 -0600 Subject: [PATCH] init: Do not show "now commit" message with --no-scm --- dvc/project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/project.py b/dvc/project.py index 0db6f9a1b..8d6b27b30 100644 --- a/dvc/project.py +++ b/dvc/project.py @@ -128,10 +128,10 @@ class Project(object): proj = Project(root_dir) scm.add([config.config_file]) + if scm.ignore_file(): scm.add([os.path.join(dvc_dir, scm.ignore_file())]) - - logger.info('\nYou can now commit the changes to git.') + logger.info('\nYou can now commit the changes to git.\n') proj._welcome_message()