diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-10-15 22:07:08 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-16 11:05:51 +0900 |
commit | 0f05154c7064f82f122b845e0fe49a487d3a8d6e (patch) | |
tree | 865bee473a39d3e18063181ab6806d9acedc2222 /worktree.h | |
parent | refs: convert resolve_gitlink_ref to struct object_id (diff) | |
download | tgif-0f05154c7064f82f122b845e0fe49a487d3a8d6e.tar.xz |
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>
Diffstat (limited to 'worktree.h')
-rw-r--r-- | worktree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.h b/worktree.h index 9276c81ae7..c28a880e18 100644 --- a/worktree.h +++ b/worktree.h @@ -8,7 +8,7 @@ struct worktree { char *id; char *head_ref; /* NULL if HEAD is broken or detached */ char *lock_reason; /* internal use */ - unsigned char head_sha1[20]; + struct object_id head_oid; int is_detached; int is_bare; int is_current; |