From 2d2053296f7f17d82a0cc0c66c6151fdf295901b Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Tue, 27 Jan 2015 21:06:29 -0800 Subject: [PATCH] Fix placement of quotes in an error message --- commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.cpp b/commands.cpp index e2ce435..8d68959 100644 --- a/commands.cpp +++ b/commands.cpp @@ -803,7 +803,7 @@ int unlock (int argc, const char** argv) // If HEAD doesn't exist, we won't be resetting to it (see below) so // it doesn't matter that the working directory is dirty. std::clog << "Error: Working directory not clean." << std::endl; - std::clog << "Please commit your changes or 'git stash' them before running 'git-crypt' unlock." << std::endl; + std::clog << "Please commit your changes or 'git stash' them before running 'git-crypt unlock'." << std::endl; return 1; } @@ -938,7 +938,7 @@ int lock (int argc, const char** argv) // If HEAD doesn't exist, we won't be resetting to it (see below) so // it doesn't matter that the working directory is dirty. std::clog << "Error: Working directory not clean." << std::endl; - std::clog << "Please commit your changes or 'git stash' them before running 'git-crypt' lock." << std::endl; + std::clog << "Please commit your changes or 'git stash' them before running 'git-crypt lock'." << std::endl; return 1; }