File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1+
2+ Microsoft Visual Studio Solution File, Format Version 12.00
3+ # Visual Studio Version 16
4+ VisualStudioVersion = 16.0.31005.135
5+ MinimumVisualStudioVersion = 10.0.40219.1
6+ Project ("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}" ) = "Prompt-Git-Info" , "Prompt-Git-Info.csproj" , "{3989FA7B-D89D-44F1-815F-D029793C8A78}"
7+ EndProject
8+ Global
9+ GlobalSection (SolutionConfigurationPlatforms ) = preSolution
10+ Debug| Any CPU = Debug| Any CPU
11+ Release| Any CPU = Release| Any CPU
12+ EndGlobalSection
13+ GlobalSection (ProjectConfigurationPlatforms ) = postSolution
14+ {3989FA7B-D89D-44F1-815F-D029793C8A78} .Debug| Any CPU .ActiveCfg = Debug| Any CPU
15+ {3989FA7B-D89D-44F1-815F-D029793C8A78} .Debug| Any CPU .Build .0 = Debug| Any CPU
16+ {3989FA7B-D89D-44F1-815F-D029793C8A78} .Release| Any CPU .ActiveCfg = Release| Any CPU
17+ {3989FA7B-D89D-44F1-815F-D029793C8A78} .Release| Any CPU .Build .0 = Release| Any CPU
18+ EndGlobalSection
19+ GlobalSection (SolutionProperties ) = preSolution
20+ HideSolutionNode = FALSE
21+ EndGlobalSection
22+ GlobalSection (ExtensibilityGlobals ) = postSolution
23+ SolutionGuid = {C5DD6B4D-74E3-4DEB-B7D3-38E0B039BAEE}
24+ EndGlobalSection
25+ EndGlobal
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ public void Update()
3434 Behind = X [ '↑' ] ;
3535 Ahead = X [ '↓' ] ;
3636 RepoStatus = RepoStatus . UpToDate ;
37- if ( ( IndexChanges > 0 || WorktreeChanges > 0 ) && Untracked == 0 ) RepoStatus = RepoStatus . Modified ;
38- if ( ( IndexChanges > 0 || WorktreeChanges > 0 ) && Untracked > 0 ) RepoStatus = RepoStatus . ModifiedUntracked ;
37+ if ( ( IndexChanges > 0 || WorktreeChanges > 0 || WorktreeDeleted > 0 || IndexDeleted > 0 ) && Untracked == 0 ) RepoStatus = RepoStatus . Modified ;
38+ if ( ( IndexChanges > 0 || WorktreeChanges > 0 || WorktreeDeleted > 0 || IndexDeleted > 0 ) && Untracked > 0 ) RepoStatus = RepoStatus . ModifiedUntracked ;
3939 if ( Behind > 0 ) RepoStatus = RepoStatus . Behind ;
4040 if ( Ahead > 0 ) RepoStatus = RepoStatus . Ahead ;
4141 if ( Ahead > 0 && Behind > 0 ) RepoStatus = RepoStatus . AheadBehind ;
You can’t perform that action at this time.
0 commit comments