aboutsummaryrefslogtreecommitdiff
path: root/worktree.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-04-22 20:01:28 +0700
committerJunio C Hamano <gitster@pobox.com>2016-04-22 14:09:38 -0700
commit750e8a60d69274acd820f812704c75927d82728e (patch)
treead5cd916a90663b2d1510dd2a12060a2225219a5 /worktree.h
parentd3b9ac07eb44974bb619d71fc6c81c9f2036b96c (diff)
downloadgit-750e8a60d69274acd820f812704c75927d82728e.tar.gz
git-750e8a60d69274acd820f812704c75927d82728e.tar.xz
worktree.c: mark current worktree
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'worktree.h')
-rw-r--r--worktree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/worktree.h b/worktree.h
index ca50e73b5..ccdf69a87 100644
--- a/worktree.h
+++ b/worktree.h
@@ -8,6 +8,7 @@ struct worktree {
unsigned char head_sha1[20];
int is_detached;
int is_bare;
+ int is_current;
};
/* Functions for acting on the information about worktrees. */