Skip to content

Commit

Permalink
Merge pull request #674 from skajfes/fix-rebase-step-count
Browse files Browse the repository at this point in the history
fix rebase step count
  • Loading branch information
dahlbyk committed Apr 11, 2019
2 parents 1572423 + d04fd23 commit 22efdf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GitUtils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ function Get-GitBranch($gitDir = $(Get-GitDirectory), [Diagnostics.Stopwatch]$sw
else {
if (Test-Path $gitDir/rebase-apply) {
dbg 'Found rebase-apply' $sw
$step = "$(Get-Content $gitDir/rebase-merge/next)"
$total = "$(Get-Content $gitDir/rebase-merge/last)"
$step = "$(Get-Content $gitDir/rebase-apply/next)"
$total = "$(Get-Content $gitDir/rebase-apply/last)"

if (Test-Path $gitDir/rebase-apply/rebasing) {
dbg 'Found rebase-apply/rebasing' $sw
Expand Down

0 comments on commit 22efdf9

Please sign in to comment.