diff options
Diffstat (limited to 'wt-status.h')
-rw-r--r-- | wt-status.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/wt-status.h b/wt-status.h index 3f84d5c29f..1673d146fa 100644 --- a/wt-status.h +++ b/wt-status.h @@ -5,6 +5,7 @@ #include "string-list.h" #include "color.h" #include "pathspec.h" +#include "remote.h" struct worktree; @@ -87,7 +88,10 @@ struct wt_status { int show_branch; int show_stash; int hints; - + enum ahead_behind_flags ahead_behind_flags; + int detect_rename; + int rename_score; + int rename_limit; enum wt_status_format status_format; unsigned char sha1_commit[GIT_MAX_RAWSZ]; /* when not Initial */ @@ -116,9 +120,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); |