Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
geofflamrock committed Dec 30, 2024
1 parent b1eac2e commit 6b8b7dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Stack/Git/GitOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ public Dictionary<string, GitBranchStatus> GetBranchStatuses(string[] branches)
var statuses = new Dictionary<string, GitBranchStatus>();

var gitBranchVerbose = ExecuteGitCommandAndReturnOutput("branch -vv").Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries);
var regex = new Regex(@"^(?<isCurrentBranch>\*)?\s*(?<branchName>\S+)\s+(?<sha>\S+)\s*(\[(?<remoteTrackingBranchName>[^:]+)?(?::\s*(?<status>(ahead\s+(?<ahead>\d+),\s*behind\s+(?<behind>\d+))|(ahead\s+(?<aheadOnly>\d+))|(behind\s+(?<behindOnly>\d+))|(gone)))?\])?\s+(?<message>.+)$");

foreach (var branchStatus in gitBranchVerbose)
{
Expand Down

0 comments on commit 6b8b7dc

Please sign in to comment.