Browse Source

Merge branch 'sb/submodule-rm-absorb'

Error message fix.

* sb/submodule-rm-absorb:
  submodule.c: add missing ' in error messages
maint
Junio C Hamano 8 years ago
parent
commit
a06380be54
  1. 4
      submodule.c

4
submodule.c

@ -1329,7 +1329,7 @@ int bad_to_remove_submodule(const char *path, unsigned flags)
cp.dir = path; cp.dir = path;
if (start_command(&cp)) { if (start_command(&cp)) {
if (flags & SUBMODULE_REMOVAL_DIE_ON_ERROR) 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); path);
ret = -1; ret = -1;
goto out; goto out;
@ -1342,7 +1342,7 @@ int bad_to_remove_submodule(const char *path, unsigned flags)


if (finish_command(&cp)) { if (finish_command(&cp)) {
if (flags & SUBMODULE_REMOVAL_DIE_ON_ERROR) 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); path);
ret = -1; ret = -1;
} }

Loading…
Cancel
Save