Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-04-22 16:01:28 +0300
committerJunio C Hamano <gitster@pobox.com>2016-04-23 00:09:38 +0300
commit750e8a60d69274acd820f812704c75927d82728e (patch)
treead5cd916a90663b2d1510dd2a12060a2225219a5 /worktree.h
parentd3b9ac07eb44974bb619d71fc6c81c9f2036b96c (diff)
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 ca50e73b58..ccdf69a876 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. */