aboutsummaryrefslogtreecommitdiff
path: root/patch-ids.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-05-30 10:30:54 -0700
committerJunio C Hamano <gitster@pobox.com>2017-06-02 09:36:07 +0900
commitbd25f288767aa26f42ac02d2d36695c8df9134dd (patch)
tree05f2e935f1e901a70c630391c820fda13385fffa /patch-ids.c
parent34f3c0ebfbe3c8075587e5b06d0fd280ea57f053 (diff)
downloadgit-bd25f288767aa26f42ac02d2d36695c8df9134dd.tar.gz
git-bd25f288767aa26f42ac02d2d36695c8df9134dd.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch-ids.c b/patch-ids.c
index aab26cbbb..a70a291d8 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);
}
/*