unpack-trees.c: align submodule error message to the other error messages

As the place holder in the error message is for multiple submodules, we don't want to encapsulate the string place holder in single quotes. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed Mar 29, 2017 at 15:34 UTC 6362ed0b29eb281cd44487684da2296a4f431946
1 file changed +1 -1
unpack-trees.c
+1 -1
@@ -167,7 +167,7 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
167 msgs[ERROR_WOULD_LOSE_ORPHANED_REMOVED] =
168 _("The following working tree files would be removed by sparse checkout update:\n%s");
169 msgs[ERROR_WOULD_LOSE_SUBMODULE] =
170 - _("Submodule '%s' cannot checkout new HEAD");
170 + _("Cannot update submodule:\n%s");
171
172 opts->show_all_errors = 1;
173 /* rejected paths may not have a static buffer */