From 1e2b0d67ae859dc3c81fc4455290287235395d09 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Tue, 12 Dec 2023 12:26:54 -0500 Subject: git: worktree checkout tag hash id (#959) Allow checking out a worktree using a tag hash id. Fixes: https://github.com/go-git/go-git/issues/959 Supersedes: https://github.com/go-git/go-git/pull/964 --- worktree_commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worktree_commit.go') diff --git a/worktree_commit.go b/worktree_commit.go index eaa21c3..4d811f3 100644 --- a/worktree_commit.go +++ b/worktree_commit.go @@ -263,4 +263,4 @@ func (h *buildTreeHelper) copyTreeToStorageRecursive(parent string, t *object.Tr return hash, nil } return h.s.SetEncodedObject(o) -} \ No newline at end of file +} -- cgit