From 8c1addff9127a9c23fddbbc73084230f3ad06b29 Mon Sep 17 00:00:00 2001 From: Vasilis Gerakaris Date: Sat, 5 Oct 2019 14:42:26 +0300 Subject: [PATCH] dvc: Fix typo in `check_can_commit` message (#2577) --- dvc/stage.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dvc/stage.py b/dvc/stage.py index d244ab10b..55a89b3c3 100644 --- a/dvc/stage.py +++ b/dvc/stage.py @@ -731,9 +731,8 @@ class Stage(object): msg += " and " if (changed_deps and changed_outs) else "" msg += "outputs {}".format(changed_outs) if changed_outs else "" msg += "md5" if not (changed_deps or changed_outs) else "" - msg += " of '{}' changed. Are you sure you commit it?".format( - self.relpath - ) + msg += " of '{}' changed.".format(self.relpath) + msg += "Are you sure you want to commit it?" if not force and not prompt.confirm(msg): raise StageCommitError( "unable to commit changed '{}'. Use `-f|--force` to "