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>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2016-04-22 20:01:28 +07:00
committed by Junio C Hamano
parent d3b9ac07eb
commit 750e8a60d6
2 changed files with 25 additions and 0 deletions

View File

@ -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. */