Merge pull request #629 from dankilman/fix-git-effort

Fix git-effort for paths starting with dash
This commit is contained in:
hemanth.hm 2017-02-15 09:07:22 +05:30 committed by GitHub
commit 28363eff4e

View file

@ -17,7 +17,7 @@ usage() {
# get dates for the given <commit>
#
dates() {
eval "git log $args_to_git_log --pretty='format: %ad' --date=short \"$1\""
eval "git log $args_to_git_log --pretty='format: %ad' --date=short -- \"$1\""
}
# tput, being quiet about unknown capabilities
@ -31,7 +31,7 @@ tputq() {
#
hide_cursor() {
tputq civis
tputq civis
}
#