Expand comment on WorktreeRoot

This commit is contained in:
Denis Bilenko 2024-12-02 15:52:43 +01:00
parent d756498296
commit 490f5092f9
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ type Bundle struct {
// Exclusively use this field for filesystem operations.
SyncRoot vfs.Path
// Path to the root of git worktree
// Path to the root of git worktree containing the bundle.
// This is the same as git repository root if worktrees are not used,
// otherwise it's a descedant of git repository root.
// https://git-scm.com/docs/git-worktree
WorktreeRoot vfs.Path
// Config contains the bundle configuration.