Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule.c: report the submodule that an error occurs in
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 47ddc9b2739bf52d9263ea9cd90edde6e9d1c738..1b950f9627d92b9b101638467d590d59c83c6e59 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-1663,7
+1663,7
@@
int submodule_move_head(const char *path,
argv_array_push(&cp.args, new ? new : EMPTY_TREE_SHA1_HEX);
if (run_command(&cp)) {
- ret =
-1
;
+ ret =
error(_("Submodule '%s' could not be updated."), path)
;
goto out;
}