aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-12-30 16:26:28 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-12-30 16:26:28 +0100
commitb7fb11cb7f8e05fecaf96ee93af285d8778d10c2 (patch)
tree72f1b3256165fbd4c7fea3d0550461d01629e7fc /share/completions
parent95c30f7a234cf6659da566e469a9b5b0668238e1 (diff)
git completion: Complete commits for all branches
Diffstat (limited to 'share/completions')
-rw-r--r--share/completions/git.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index acb3ff42..5130ec34 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -6,7 +6,7 @@ function __fish_git_commits
# This allows filtering by subject with the new pager!
# Because even subject lines can be quite long,
# trim them (abbrev'd hash+tab+subject) to 70 characters
- command git log --pretty=tformat:"%h"\t"%s" \
+ command git log --pretty=tformat:"%h"\t"%s" --all \
| string replace -r '(.{70}).+' '$1...'
end