aboutsummaryrefslogtreecommitdiff
path: root/worktree.h
diff options
context:
space:
mode:
Diffstat (limited to 'worktree.h')
-rw-r--r--worktree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/worktree.h b/worktree.h
index 7022029db..b4b3dda79 100644
--- a/worktree.h
+++ b/worktree.h
@@ -4,6 +4,10 @@
struct worktree {
char *path;
char *git_dir;
+ char *head_ref;
+ unsigned char head_sha1[20];
+ int is_detached;
+ int is_bare;
};
/* Functions for acting on the information about worktrees. */