worktree: convert struct worktree to object_id
commit0f05154c7064f82f122b845e0fe49a487d3a8d6e
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 15 Oct 2017 22:07:08 +0000 (15 22:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Oct 2017 02:05:51 +0000 (16 11:05 +0900)
tree865bee473a39d3e18063181ab6806d9acedc2222
parenta98e6101f01b6991e780fc0b75f2937615fa84a9
worktree: convert struct worktree to object_id

Convert the head_sha1 member to be head_oid instead.  This is required
to convert resolve_ref_unsafe.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/worktree.c
worktree.c
worktree.h