diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-30 10:30:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-02 09:36:07 +0900 |
commit | f9704c2d823f437aeed50e591415f24aebdda71d (patch) | |
tree | 94054d09457dcfb830b08bd16dc9246af9b369ff /diff-lib.c | |
parent | 94a0097a41f09e00322add6d1cf62b3610b6a85c (diff) | |
download | git-f9704c2d823f437aeed50e591415f24aebdda71d.tar.gz |
diff: convert fill_filespec to struct object_id
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
-rw-r--r-- | diff-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-lib.c b/diff-lib.c index 1e8215df50..9e076a4886 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -409,7 +409,7 @@ static void do_oneway_diff(struct unpack_trees_options *o, struct diff_filepair *pair; pair = diff_unmerge(&revs->diffopt, idx->name); if (tree) - fill_filespec(pair->one, tree->oid.hash, 1, + fill_filespec(pair->one, &tree->oid, 1, tree->ce_mode); return; } |