Skip to content

Commit

Permalink
Address PR feedback - case-sensitive match on -S
Browse files Browse the repository at this point in the history
  • Loading branch information
rkeithhill committed Oct 6, 2019
1 parent b5555be commit a605032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitTabExpansion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function GitTabExpansionInternal($lastBlock, $GitStatus = $null) {
}

# Handles git restore <path>
"^restore(?:.* (?<staged>(?:-S|--staged))|.*) (?<files>\S*)$" {
"^restore(?:.* (?<staged>(?:(?-i)-S|--staged))|.*) (?<files>\S*)$" {
gitRestoreFiles $GitStatus $matches['files'] $matches['staged']
}

Expand Down

0 comments on commit a605032

Please sign in to comment.