From aec58a9d386d4199374139cd1fc466826ac3d2cf Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 26 Jun 2017 14:54:28 -0400 Subject: Repo: handle worktrees better This makes Repo("foo") work when foo/.git is a file of the form created by "git worktree add", i.e. it's a text file that says: gitdir: /home/me/project/.git/worktrees/bar and where /home/me/project/.git/ is the nominal gitdir, but /home/me/project/.git/worktrees/bar has this worktree's HEAD etc and a "gitdir" file that contains the path of foo/.git . Signed-off-by: Peter Jones --- AUTHORS | 1 + 1 file changed, 1 insertion(+) (limited to 'AUTHORS') diff --git a/AUTHORS b/AUTHORS index 781695ba..ad7c452c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -18,5 +18,6 @@ Contributors are: -Bernard `Guyzmo` Pratz -Timothy B. Hartman -Konstantin Popov +-Peter Jones Portions derived from other open source works and are clearly marked. -- cgit v1.2.3