Merge pull request #1281 from Bash-it/fix/show-only-merges-into-master

Adjust to only show merges into master
pull/1282/head
Travis Swicegood 2018-12-03 21:20:49 -06:00 committed by GitHub
commit 374ba8c8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ _bash-it_update() {
if [[ -n "${status}" ]]; then
for i in $(git rev-list --merges master..${BASH_IT_REMOTE}); do
for i in $(git rev-list --merges --first-parent master..${BASH_IT_REMOTE}); do
num_of_lines=$(git log -1 --format=%B $i | awk 'NF' | wc -l)
if [ $num_of_lines -eq 1 ]; then
description="%s"