summaryrefslogtreecommitdiff
path: root/git-changes
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-06-24 12:47:44 -0700
committerBen Sima <ben@bsima.me>2020-06-24 12:47:44 -0700
commit3655bb32413c9e1c01005354f58a5d1049c25a02 (patch)
tree2d84f8e01bb1dab7afcafa29e5df1c296fb88f26 /git-changes
parent7347983866f376e579890834736cc7c9d301bf5a (diff)
git-changes: no need for the date command
Diffstat (limited to 'git-changes')
-rwxr-xr-xgit-changes2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-changes b/git-changes
index ce24cb9..d048f36 100755
--- a/git-changes
+++ b/git-changes
@@ -12,5 +12,5 @@ else
days='1'
fi
git log --invert-grep --author="Bot" \
- --format=short --since=$(date -d "-${days}days" +%s) "$@" \
+ --format=short --since=$days.days.ago "$@" \
| git shortlog