Skip to content

Commit

Permalink
Read stash count from cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarcusreid committed Sep 6, 2015
1 parent 002df86 commit 008836e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GitUtils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function Get-GitStatus($gitDir = (Get-GitDirectory)) {
$aheadBy = $cacheResponse.AheadBy
$behindBy = $cacheResponse.BehindBy

if ($cacheResponse.Stashes) { $stashCount = $cacheResponse.Stashes.Length }
if ($cacheResponse.State) { $branch += "|" + $cacheResponse.State }
} else {
dbg 'Getting status' $sw
Expand Down

0 comments on commit 008836e

Please sign in to comment.