Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
push tests: assert re-pushing annotated tags
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index d3a9aab83dc90b0c7797cc4b83d0a83bf6c196b7..2a6381864e128c0122c1cbab6d148cf3c0d82961 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-1682,7
+1682,7
@@
int submodule_move_head(const char *path,
argv_array_push(&cp.args, new_head ? new_head : empty_tree_oid_hex());
if (run_command(&cp)) {
- ret =
-1
;
+ ret =
error(_("Submodule '%s' could not be updated."), path)
;
goto out;
}