Commit Diff


commit - bd81cfb71a41e5cf095af0f518978f2f6123cd9c
commit + 86d8a25a424bf9dff8061b9a5cf9c76f0a97327e
blob - bd2ded95219c3ea3b371bba588ae88440da1aeaf
blob + 82d26fe885d8449f2848d1c83b04195769cdc8bf
--- lib/repository.c
+++ lib/repository.c
@@ -1325,7 +1325,7 @@ done:
 		free(*id);
 		*id = NULL;
 	} else if (*id == NULL)
-		err = got_error(GOT_ERR_NO_OBJ);
+		err = got_error_path(id_str_prefix, GOT_ERR_NO_OBJ);
 
 	return err;
 }