diff options
author | Patryk Obara <patryk.obara@gmail.com> | 2017-08-20 22:09:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-20 21:51:38 -0700 |
commit | 98e019b067ac8a34e06f9c412f14a080c7c4dc0d (patch) | |
tree | 993e29b9bcffe7603f5b7d377af86aefbb7f1785 /diff.c | |
parent | bebfecb94c5c71091a07ebbd300740990d3266c7 (diff) | |
download | git-98e019b067ac8a34e06f9c412f14a080c7c4dc0d.tar.gz |
sha1_file: convert index_path to struct object_id
Convert all remaining callers as well.
Signed-off-by: Patryk Obara <patryk.obara@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3246,7 +3246,7 @@ static void diff_fill_oid_info(struct diff_filespec *one) } if (lstat(one->path, &st) < 0) die_errno("stat '%s'", one->path); - if (index_path(one->oid.hash, one->path, &st, 0)) + if (index_path(&one->oid, one->path, &st, 0)) die("cannot hash %s", one->path); } } |