aboutsummaryrefslogtreecommitdiff
path: root/scripts/git-log-pretty-since.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-08-22 04:51:32 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-08-22 15:39:14 -0400
commit46475a102123e6abcd7954fd9f710b8295a852f7 (patch)
tree92cee9df85ea9d638d80487dd1129a2553bf3a7f /scripts/git-log-pretty-since.sh
parent2f2e729899f388bfcda89893a645620058c26520 (diff)
downloadrneovim-46475a102123e6abcd7954fd9f710b8295a852f7.tar.gz
rneovim-46475a102123e6abcd7954fd9f710b8295a852f7.tar.bz2
rneovim-46475a102123e6abcd7954fd9f710b8295a852f7.zip
release.sh: Touch NVIM_VERSION_PATCH, show obnoxious message.
git-log-pretty-since.sh: fix bug
Diffstat (limited to 'scripts/git-log-pretty-since.sh')
-rwxr-xr-xscripts/git-log-pretty-since.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-log-pretty-since.sh b/scripts/git-log-pretty-since.sh
index d8e3282fb3..6281127542 100755
--- a/scripts/git-log-pretty-since.sh
+++ b/scripts/git-log-pretty-since.sh
@@ -19,7 +19,7 @@ is_merge_commit() {
git log $1^2 >/dev/null 2>&1 && return 0 || return 1
}
-for commit in $(git log --format='%H' --first-parent --since $__SINCE); do
+for commit in $(git log --format='%H' --first-parent "$__SINCE"..HEAD); do
if is_merge_commit ${commit} ; then
if [ -z "$__INVMATCH" ] || ! git log --oneline ${commit}^1..${commit}^2 \
| grep -E "$__INVMATCH" >/dev/null 2>&1 ; then