]> git.ipfire.org Git - thirdparty/git.git/blobdiff - worktree.h
worktree: add details to the worktree struct
[thirdparty/git.git] / worktree.h
index 7022029db5f43a348e99bdd7e888b4257cb3ad0d..b4b3dda79280707d2d65bf790be15c7a1e662b5e 100644 (file)
@@ -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. */