diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-04 06:03:38 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-01-04 06:03:37 +0100 |
commit | e22bf529c1022af149d93ded005e04880b28fffb (patch) | |
tree | bb99f9de5dc1b843c4e47336e16adfa84b6386b1 /scripts/git-log-pretty-since.sh | |
parent | 7436a62168d9bc8bb3b5e472a4342ac6ee6d8578 (diff) | |
download | rneovim-e22bf529c1022af149d93ded005e04880b28fffb.tar.gz rneovim-e22bf529c1022af149d93ded005e04880b28fffb.tar.bz2 rneovim-e22bf529c1022af149d93ded005e04880b28fffb.zip |
release.sh: fix exclusion pattern [ci skip]
grep support of "\s" pattern is unreliable.
Diffstat (limited to 'scripts/git-log-pretty-since.sh')
-rwxr-xr-x | scripts/git-log-pretty-since.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-log-pretty-since.sh b/scripts/git-log-pretty-since.sh index 6281127542..529349d632 100755 --- a/scripts/git-log-pretty-since.sh +++ b/scripts/git-log-pretty-since.sh @@ -22,7 +22,7 @@ is_merge_commit() { 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 + | >/dev/null 2>&1 grep -E "$__INVMATCH" ; then git log -1 --oneline ${commit} git log --format=' %h %s' ${commit}^1..${commit}^2 fi |