summaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.c b/commit.c
index 2502688262..c0dd689ea3 100644
--- a/commit.c
+++ b/commit.c
@@ -12,6 +12,7 @@ struct commit *lookup_commit(unsigned char *sha1)
struct commit *ret = malloc(sizeof(struct commit));
memset(ret, 0, sizeof(struct commit));
created_object(sha1, &ret->object);
+ ret->object.type = commit_type;
return ret;
}
if (obj->parsed && obj->type != commit_type) {
@@ -56,7 +57,6 @@ int parse_commit(struct commit *item)
if (strcmp(type, commit_type))
return error("Object %s not a commit",
sha1_to_hex(item->object.sha1));
- item->object.type = commit_type;
get_sha1_hex(bufptr + 5, parent);
item->tree = lookup_tree(parent);
add_ref(&item->object, &item->tree->object);
span>/+4 2023-08-31drm/amdgpu: add VCN_4_0_5 firmware supportSaleemkhan Jamadar1-0/+2 2023-08-31drm/amdgpu/jpeg: add jpeg support for VCN4_0_5Saleemkhan Jamadar3-1/+658 2023-08-31drm/amdgpu: add VCN4 ip block supportSaleemkhan Jamadar3-0/+1815 2023-08-31drm/amdgpu: add vcn 4_0_5 header filesSaleemkhan Jamadar2-0/+10411 2023-08-31drm/amdgpu: fix VPE front door loading issueLang Yu6-0/+63 2023-08-31drm/amdgpu: add VPE FW version query supportLang Yu2-0/+14 2023-08-31drm/amdgpu: enable VPE for VPE 6.1.0Lang Yu1-0/+19 2023-08-31drm/amdgpu: add user space CS support for VPELang Yu3-0/+9 2023-08-31drm/amdgpu: add PSP loading support for VPELang Yu2-0/+28 2023-08-31drm/amdgpu: add VPE 6.1.0 supportLang Yu6-0/+1019 2023-08-31drm/amdgpu: add nbio 7.11 callback for VPELang Yu1-0/+24 2023-08-31drm/amdgpu: add nbio callback for VPELang Yu1-0/+2 2023-08-31drm/amdgpu: add PSP FW TYPE for VPELang Yu2-0/+8 2023-08-31drm/amdgpu: add UCODE ID for VPELang Yu1-0/+2 2023-08-31drm/amdgpu: add support for VPE firmware name decodingLang Yu1-0/+3 2023-08-31drm/amdgpu: add doorbell index for VPELang Yu2-2/+6