Merge branch 'sb/submodule-rm-absorb'
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Apr 2017 04:37:17 +0000 (21:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Apr 2017 04:37:17 +0000 (21:37 -0700)
Error message fix.

* sb/submodule-rm-absorb:
submodule.c: add missing ' in error messages

submodule.c
index cdbecfbeaf8c16af192845c95477985e659bcd20..620504d3251df806e49882b6483b7c764dcae93d 100644 (file)
@@ -1329,7 +1329,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;
@@ -1342,7 +1342,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;
        }