]> git.ipfire.org Git - thirdparty/git.git/commit - worktree.h
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)
commit51934904425e55a190b05f0a7a3de40ea486f0e5
tree10975d66c16dd044736cb6f71259fa149f39f038
parent1ceb7f90674897a24a9f2a56abf7d26297761f18
worktree: add a function to get worktree details

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>
worktree.c
worktree.h