Skip to content

Commit

Permalink
Merge pull request #629 from dankilman/fix-git-effort
Browse files Browse the repository at this point in the history
Fix git-effort for paths starting with dash
  • Loading branch information
hemanth authored Feb 15, 2017
2 parents 9c1feec + b2c7de9 commit 28363ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/git-effort
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,7 +31,7 @@ tputq() {
#

hide_cursor() {
tputq civis
tputq civis
}

#
Expand Down

0 comments on commit 28363ef

Please sign in to comment.