diff: convert diff_flush_patch_id to struct object_id
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
34f3c0ebfb
commit
bd25f28876
@ -22,7 +22,7 @@ int commit_patch_id(struct commit *commit, struct diff_options *options,
|
||||
else
|
||||
diff_root_tree_sha1(commit->object.oid.hash, "", options);
|
||||
diffcore_std(options);
|
||||
return diff_flush_patch_id(options, oid->hash, diff_header_only);
|
||||
return diff_flush_patch_id(options, oid, diff_header_only);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user