summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-04-16 23:29:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-16 23:29:34 -0700
commitc8a8951ce56e497775784babb025e0c26a889f7c (patch)
treee5b630e43b7803092f59f0ba5cbb995a9a42e923 /unpack-trees.c
parentMerge branch 'ab/regen-perl-mak-with-different-perl' (diff)
parentunpack-trees.c: align submodule error message to the other error messages (diff)
downloadtgif-c8a8951ce56e497775784babb025e0c26a889f7c.tar.xz
Merge branch 'sb/unpack-trees-would-lose-submodule-message-update'
Update an error message. * sb/unpack-trees-would-lose-submodule-message-update: unpack-trees.c: align submodule error message to the other error messages
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index 8333da2cc9..6b7356dab2 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -167,7 +167,7 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
msgs[ERROR_WOULD_LOSE_ORPHANED_REMOVED] =
_("The following working tree files would be removed by sparse checkout update:\n%s");
msgs[ERROR_WOULD_LOSE_SUBMODULE] =
- _("Submodule '%s' cannot checkout new HEAD");
+ _("Cannot update submodule:\n%s");
opts->show_all_errors = 1;
/* rejected paths may not have a static buffer */