mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
git completion: Complete commits for all branches
This commit is contained in:
parent
95c30f7a23
commit
b7fb11cb7f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue