The following behaves as expected: \repeat volta 2 { c1 \alternative { { d1 } { e1 } } }
... and produces a repeat section with alternate ending brackets; however, if an unfold is added thus: \repeat volta 2 { \repeat unfold 2 { c1 } \alternative { { d1 } { e1 } } } ... the result is that the \alternative bars are applied to the unfolded repeat, as though equivalent to this: \repeat volta 2 { c1 d1 c1 e1 } ... instead of this: \repeat volta 1 { c1 c1 \alternative { { d1 } { e1 } } } - Nikolai