Fix check for revert/cherry-pick

Undoing a bad search and replace in
4bc9d98993
This commit is contained in:
Tim Pope
2025-07-15 17:17:44 -04:00
parent 53d6ba99bc
commit e0715fe729

View File

@@ -2973,7 +2973,7 @@ function! s:StatusRender(stat) abort
endif
call s:AddSection(to, 'Rebasing ' . rebasing_head, rebasing)
call s:AddSection(to, get(get(sequencing, 0, {}), 'tous', '') ==# 'revert' ? 'Reverting' : 'Cherry Picking', sequencing)
call s:AddSection(to, get(get(sequencing, 0, {}), 'status', '') ==# 'revert' ? 'Reverting' : 'Cherry Picking', sequencing)
call s:AddSection(to, 'Untracked', untracked)
call s:AddDiffSection(to, stat, 'Unstaged', unstaged)
call s:AddDiffSection(to, stat, 'Staged', staged)