Merge branch 'bc/object-id'
[gitweb.git] / submodule.c
index d3a9aab83dc90b0c7797cc4b83d0a83bf6c196b7..2a6381864e128c0122c1cbab6d148cf3c0d82961 100644 (file)
@@ -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;
        }