Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/unpack-trees-would-lose-submodule-message-update'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 17 Apr 2017 06:29:34 +0000
(23:29 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 17 Apr 2017 06:29:34 +0000
(23:29 -0700)
Update an error message.
* sb/unpack-trees-would-lose-submodule-message-update:
unpack-trees.c: align submodule error message to the other error messages
unpack-trees.c
patch
|
blob
|
history
raw
(from parent 1:
3817d63
)
diff --git
a/unpack-trees.c
b/unpack-trees.c
index 8333da2cc908d7ea373e3d67fbf3ac6526d9019d..6b7356dab2a100f2c402af59c4207bfc291cd59d 100644
(file)
--- 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 */