From f5d36f0008fd1aa7494a6e91cc4c775c6656a9c8 Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Sat, 7 Feb 2015 08:52:07 -0800 Subject: [PATCH] Fix wording of 'git-crypt lock' error message. Thanks to Elliot Saba. --- commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.cpp b/commands.cpp index ef40b21..d859560 100644 --- a/commands.cpp +++ b/commands.cpp @@ -963,7 +963,7 @@ int lock (int argc, const char** argv) // just handle the given key std::string internal_key_path(get_internal_key_path(key_name)); if (access(internal_key_path.c_str(), F_OK) == -1 && errno == ENOENT) { - std::clog << "Error: this repository is not currently locked"; + std::clog << "Error: this repository is already locked"; if (key_name) { std::clog << " with key '" << key_name << "'"; }