mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-30 05:40:58 +01:00
36236: _git-log: Complete multiple revspecs
e.g., git log origin/master origin/foo origin/bar
This commit is contained in:
parent
d70e7149df
commit
a4c41fff12
2 changed files with 8 additions and 0 deletions
|
|
@ -1101,6 +1101,11 @@ _git-log () {
|
|||
fi
|
||||
;;
|
||||
(commit-ranges-or-files)
|
||||
# Multiple revspecs are permitted.
|
||||
if [[ -z ${opt_args[(I)--]} ]]; then
|
||||
__git_commit_ranges "$@" && ret=0
|
||||
fi
|
||||
|
||||
# TODO: Write a wrapper function that checks whether we have a
|
||||
# committish range or comittish and calls __git_tree_files
|
||||
# appropriately.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue