worktree: add a function to get worktree details
authorMichael Rappazzo <rappazzo@gmail.com>
Thu, 8 Oct 2015 17:01:03 +0000 (13:01 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Oct 2015 18:56:25 +0000 (11:56 -0700)
The worktree structure provided for an individual worktree includes the
absolute path of the worktree. The fuction to get the worktree details
is a refactor of the find main/linked symref functions.

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