aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-12-10 06:49:09 +0100
committerGitHub <noreply@github.com>2021-12-10 06:49:09 +0100
commit39f97ab86a776dd8acd58a79a660d0cfdb7068c0 (patch)
tree119b9f5b10f2fd1053c430e1891b0e33d927615b /plumbing/object
parentc71074e855b42c817c6ecb6cba7e6b62eafc08d3 (diff)
parentf92011d95f98f5deea4959c7d432704a4300d3a8 (diff)
downloadgo-git-39f97ab86a776dd8acd58a79a660d0cfdb7068c0.tar.gz
Merge pull request #410 from john-cai/jc-sparse
Worktree: Checkout, simplified sparse checkout
Diffstat (limited to 'plumbing/object')
-rw-r--r--plumbing/object/treenoder.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/plumbing/object/treenoder.go b/plumbing/object/treenoder.go
index b4891b9..6e7b334 100644
--- a/plumbing/object/treenoder.go
+++ b/plumbing/object/treenoder.go
@@ -38,6 +38,10 @@ func NewTreeRootNode(t *Tree) noder.Noder {
}
}
+func (t *treeNoder) Skip() bool {
+ return false
+}
+
func (t *treeNoder) isRoot() bool {
return t.name == ""
}