File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -158,13 +158,11 @@ pub struct WorkspaceStack {
158
158
pub struct WorkspaceStackBranch {
159
159
/// The name of the branch.
160
160
pub ref_name : gix:: refs:: FullName ,
161
- /// Archived represents the state when series/branch has been integrated and is below the merge base with the current target branch.
162
- /// This would occur when the branch has been merged at the remote and the workspace has been updated with that change.
163
- ///
164
- /// Note that this is a cache to help speed up certain operations.
165
- /// NOTE: This is more like a proof of concept and for backwards compatibility - maybe we will make it go away.
166
- // TODO: given that most operations require a graph walk, will this really be necessary if a graph cache is used consistently?
167
- // Staleness can be a problem if targets can be changed after the fact. At least we'd need to recompute it.
161
+ /// If `true`, the branch is now underneath the lower-base of the workspace after a workspace update.
162
+ /// This means it's not interesting anymore, by all means, but we'd still have to keep it available and list
163
+ /// these segments as being part of the workspace when creating PRs. Their descriptions contain references
164
+ /// to archived segments, which simply shouldn't disappear just yet.
165
+ /// However, they may disappear once the whole stack has been integrated and the workspace has moved past it.
168
166
pub archived : bool ,
169
167
}
170
168
You can’t perform that action at this time.
0 commit comments