Merge branch 'po/object-id'

* po/object-id:
  sha1_file: convert index_stream to struct object_id
  sha1_file: convert hash_sha1_file_literally to struct object_id
  sha1_file: convert index_fd to struct object_id
  sha1_file: convert index_path to struct object_id
  read-cache: convert to struct object_id
  builtin/hash-object: convert to struct object_id
This commit is contained in:
Junio C Hamano
2017-08-26 22:55:06 -07:00
9 changed files with 34 additions and 34 deletions

2
diff.c
View File

@ -4011,7 +4011,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);
}
}