> @@ -209,7 +210,8 @@ static inline void finish_object__ma(struct object *obj)
>*/
> switch (arg_missing_action) {
> case MA_ERROR:
> - die("missing blob object '%s'", oid_to_hex(&obj->oid));
> + die("missing %s object '%s'",
> + type_name
Previously, we assumed only blob objects could be missing. This patch
makes rev-list handle missing trees like missing blobs. A missing tree
will cause an error if --missing indicates an error should be caused,
and the hash is printed even if the tree is missing.
Signed-off-by: Matthew DeVore
---
2 matches
Mail list logo