diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-30 10:30:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-02 09:36:07 +0900 |
commit | bd25f288767aa26f42ac02d2d36695c8df9134dd (patch) | |
tree | 05f2e935f1e901a70c630391c820fda13385fffa /patch-ids.c | |
parent | 34f3c0ebfbe3c8075587e5b06d0fd280ea57f053 (diff) | |
download | git-bd25f288767aa26f42ac02d2d36695c8df9134dd.tar.gz |
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>
Diffstat (limited to 'patch-ids.c')
-rw-r--r-- | patch-ids.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patch-ids.c b/patch-ids.c index aab26cbbb9..a70a291d82 100644 --- a/patch-ids.c +++ b/patch-ids.c @@ -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); } /* |