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:
2020-12-19 02:29:51 +01:00
parent 9276f9427e
commit 10ef02c421

View File

@@ -87,7 +87,7 @@ fi
# Display an ascii graph of the commits in the above format and pipe that into # Display an ascii graph of the commits in the above format and pipe that into
# fzf. # fzf.
git log "$formatshort" --graph "$dateshort" --color=always \ git log "$formatshort" --graph "$dateshort" --color=always "$@" \
| fzf "${fzf_args[@]}" | fzf "${fzf_args[@]}"
return 0 return 0