Skip to content

Commit

Permalink
Add ref expansion for git bisect bad|good|reset|skip
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlbyk committed Apr 8, 2012
1 parent b5320f1 commit c614a40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GitTabExpansion.ps1
Expand Up @@ -138,6 +138,11 @@ function GitTabExpansion($lastBlock) {
gitStashes $matches['stash']
}

# Handles git bisect (bad|good|reset|skip) <ref>
"^bisect (?:bad|good|reset|skip).* (?<ref>\S*)$" {
gitBranches $matches['ref'] $true
}

# Handles git branch -d|-D|-m|-M <branch name>
# Handles git branch <branch name> <start-point>
"^branch.* (?<branch>\S*)$" {
Expand Down

0 comments on commit c614a40

Please sign in to comment.