zsh:glog: Support arguments
Arguments given to `glog` are directly passed to the `git log` call that populates the commit list. Useful for example for specifying the commit/branch.
This commit is contained in:
@@ -87,7 +87,7 @@ fi
|
||||
|
||||
# Display an ascii graph of the commits in the above format and pipe that into
|
||||
# fzf.
|
||||
git log "$formatshort" --graph "$dateshort" --color=always \
|
||||
git log "$formatshort" --graph "$dateshort" --color=always "$@" \
|
||||
| fzf "${fzf_args[@]}"
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user