OSDN Git Service

patch-ids.c: use hashmap correctly
[git-core/git.git] / worktree.h
index 6bfb985..5ea5e50 100644 (file)
@@ -4,7 +4,7 @@
 struct worktree {
        char *path;
        char *id;
-       char *head_ref;
+       char *head_ref;         /* NULL if HEAD is broken or detached */
        char *lock_reason;      /* internal use */
        unsigned char head_sha1[20];
        int is_detached;