worktree: add details to the worktree struct
authorMichael Rappazzo <rappazzo@gmail.com>
Thu, 8 Oct 2015 17:01:04 +0000 (13:01 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Oct 2015 18:57:07 +0000 (11:57 -0700)
In addition to the absolute path in the worktree struct, add the location
of the git dir, the head ref (if not detached), the head revision sha1,
whether or not head is detached, and whether or not the worktree is a
bare repo.

Signed-off-by: Michael Rappazzo <rappazzo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found