aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_commit.go
diff options
context:
space:
mode:
authorAyman Bagabas <ayman.bagabas@gmail.com>2023-12-12 12:26:54 -0500
committerAyman Bagabas <ayman.bagabas@gmail.com>2023-12-12 13:27:51 -0500
commit1e2b0d67ae859dc3c81fc4455290287235395d09 (patch)
treec063cd037870ed8abde16fd411ea266e6ef9acc0 /worktree_commit.go
parent952f1baf5e6ffc9e2e143821368944b40fa0bdbf (diff)
downloadgo-git-1e2b0d67ae859dc3c81fc4455290287235395d09.tar.gz
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
Diffstat (limited to 'worktree_commit.go')
-rw-r--r--worktree_commit.go2
1 files changed, 1 insertions, 1 deletions
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
+}