diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-30 10:30:53 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-02 09:36:07 +0900 |
commit | 34f3c0ebfbe3c8075587e5b06d0fd280ea57f053 (patch) | |
tree | da3df7f156f846a20fbc2463f93b6f275e0aa6ea /builtin | |
parent | diff: finish conversion for prepare_temp_file to struct object_id (diff) | |
download | tgif-34f3c0ebfbe3c8075587e5b06d0fd280ea57f053.tar.xz |
patch-ids: convert to struct object_id
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c index a440601efe..6bdba34446 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -1354,7 +1354,7 @@ static void prepare_bases(struct base_tree_info *bases, struct object_id *patch_id; if (commit->util) continue; - if (commit_patch_id(commit, &diffopt, oid.hash, 0)) + if (commit_patch_id(commit, &diffopt, &oid, 0)) die(_("cannot get patch id")); ALLOC_GROW(bases->patch_id, bases->nr_patch_id + 1, bases->alloc_patch_id); patch_id = bases->patch_id + bases->nr_patch_id; |