summaryrefslogtreecommitdiff
path: root/patch-ids.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-05-30 17:30:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-02 00:36:07 (GMT)
commitbd25f288767aa26f42ac02d2d36695c8df9134dd (patch)
tree05f2e935f1e901a70c630391c820fda13385fffa /patch-ids.c
parent34f3c0ebfbe3c8075587e5b06d0fd280ea57f053 (diff)
downloadgit-bd25f288767aa26f42ac02d2d36695c8df9134dd.zip
git-bd25f288767aa26f42ac02d2d36695c8df9134dd.tar.gz
git-bd25f288767aa26f42ac02d2d36695c8df9134dd.tar.bz2
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 aab26cb..a70a291 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);
}
/*