]> git.ipfire.org Git - thirdparty/git.git/blobdiff - wt-status.h
wt-status: convert struct wt_status_state to object_id
[thirdparty/git.git] / wt-status.h
index ea2456daf24a4a74b3d85b041527ce5f99dc2695..430770b854c41b38b95dae6e8fa8943629a2309b 100644 (file)
@@ -118,9 +118,9 @@ struct wt_status_state {
        char *branch;
        char *onto;
        char *detached_from;
-       unsigned char detached_sha1[20];
-       unsigned char revert_head_sha1[20];
-       unsigned char cherry_pick_head_sha1[20];
+       struct object_id detached_oid;
+       struct object_id revert_head_oid;
+       struct object_id cherry_pick_head_oid;
 };
 
 size_t wt_status_locate_end(const char *s, size_t len);