Skip to content

Commit

Permalink
Add branch expansion for diff and show
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlbyk committed Nov 30, 2010
1 parent 53894c4 commit 9343ceb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GitTabExpansion.ps1
Expand Up @@ -152,8 +152,10 @@ function GitTabExpansion($lastBlock) {
}

# Handles git cherry-pick <commit>
# Handles git diff <commit>
# Handles git log <commit>
'^git (?:cherry-pick|log).* (?<commit>\S*)$' {
# Handles git show <commit>
'^git (?:cherry-pick|diff|log|show).* (?<commit>\S*)$' {
gitLocalBranches $matches['commit']
}

Expand Down

0 comments on commit 9343ceb

Please sign in to comment.