threads / patch / 45679

patchsubmodule.c: add missing ' in error messages

Subject: [PATCH] submodule.c: add missing ' in error messages

## tl;dr

2 messages between Apr 13, 2017 and Apr 13, 2017. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Ralf Thielow· Apr 13, 2017, 16:40 UTC · lore
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
---
 submodule.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to submodule.c +2 −2
diff --git a/submodule.c b/submodule.c
index c52d6634c..02033c97e 100644
--- a/submodule.c
+++ b/submodule.c
@@ -1251,7 +1251,7 @@ int bad_to_remove_submodule(const char *path, unsigned flags)
 	cp.dir = path;
 	if (start_command(&cp)) {
 		if (flags & SUBMODULE_REMOVAL_DIE_ON_ERROR)
-			die(_("could not start 'git status in submodule '%s'"),
+			die(_("could not start 'git status' in submodule '%s'"),
 				path);
 		ret = -1;
 		goto out;
@@ -1264,7 +1264,7 @@ int bad_to_remove_submodule(const char *path, unsigned flags)
 
 	if (finish_command(&cp)) {
 		if (flags & SUBMODULE_REMOVAL_DIE_ON_ERROR)
-			die(_("could not run 'git status in submodule '%s'"),
+			die(_("could not run 'git status' in submodule '%s'"),
 				path);
 		ret = -1;
 	}
-- 
2.12.2.762.g0e3151a22
Stefan Beller· Apr 13, 2017, 17:25 UTC · re: Ralf Thielow · lore

Re: [PATCH] submodule.c: add missing ' in error messages

On Thu, Apr 13, 2017 at 9:40 AM, Ralf Thielow <ralf.thielow@gmail.com> wrote:
> Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
> ---
Thanks!
Reviewed-by: Stefan Beller <sbeller@google.com>

← back to recent threads