Skip to content

Commit 6362ed0

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e1104a5 commit 6362ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpack-trees.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
167167
msgs[ERROR_WOULD_LOSE_ORPHANED_REMOVED] =
168168
_("The following working tree files would be removed by sparse checkout update:\n%s");
169169
msgs[ERROR_WOULD_LOSE_SUBMODULE] =
170-
_("Submodule '%s' cannot checkout new HEAD");
170+
_("Cannot update submodule:\n%s");
171171

172172
opts->show_all_errors = 1;
173173
/* rejected paths may not have a static buffer */

0 commit comments

Comments
 (0)