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:
Brandon Williams
2017-05-30 10:30:54 -07:00
committed by Junio C Hamano
parent 34f3c0ebfb
commit bd25f28876
3 changed files with 8 additions and 8 deletions

View File

@ -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);
}
/*