summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2021-05-01 16:52:47 -0600
committerLuke Shumaker <lukeshu@parabola.nu>2021-05-01 16:52:47 -0600
commit5786c82feca8ab4cf6cd7d5e32b3ee76032d1054 (patch)
tree1a79c7576b711130f6821b8a504192eb013681f6
parent0816e807c9f9e29239f905856cf25d205a562bad (diff)
more comments
-rw-r--r--fi-prune-empty2/stream.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/fi-prune-empty2/stream.go b/fi-prune-empty2/stream.go
index cadaf8b..2b75383 100644
--- a/fi-prune-empty2/stream.go
+++ b/fi-prune-empty2/stream.go
@@ -73,8 +73,10 @@ func MarkInSlice(needle Mark, haystack []Mark) bool {
type Commit struct {
Mark Mark
OriginalOID Hash
- Parents []Mark
- Tree Tree
+ // Parents has already been passed through driver.FixMark()
+ // before it gets to driver.ProcessCommit().
+ Parents []Mark
+ Tree Tree
ExcludedParents bool
}