diff --git a/src/GitUtils.ps1 b/src/GitUtils.ps1 index e34bef785..d3d1180b0 100644 --- a/src/GitUtils.ps1 +++ b/src/GitUtils.ps1 @@ -105,6 +105,10 @@ function Get-GitBranch($gitDir = $(Get-GitDirectory), [Diagnostics.Stopwatch]$sw dbg 'Found CHERRY_PICK_HEAD' $sw $r = '|CHERRY-PICKING' } + elseif (Test-Path $gitDir/REVERT_HEAD) { + dbg 'Found REVERT_HEAD' $sw + $r = '|REVERTING' + } elseif (Test-Path $gitDir/BISECT_LOG) { dbg 'Found BISECT_LOG' $sw $r = '|BISECTING'