Loading scripts/contributors.sh +4 −12 Original line number Original line Diff line number Diff line Loading @@ -22,12 +22,9 @@ ########################################################################### ########################################################################### # # # This script shows all mentioned contributors from <hash> until HEAD. To aid # This script shows all mentioned contributors from the given <hash>/<tag> # when writing RELEASE-NOTES and THANKS. # until HEAD and adds the contributors already mentioned in the existing # # RELEASE-NOTES. # Use --releasenotes to also include the names from the existing RELEASE-NOTES # file, which is handy when we've added names manually in there that should be # included in an updated list. # # start=$1 start=$1 Loading Loading @@ -55,15 +52,10 @@ tr , '\012' | \ sed 's/ and /\n/' | \ sed 's/ and /\n/' | \ sed -e 's/^ //' -e 's/ $//g' sed -e 's/^ //' -e 's/ $//g' if echo "$*" | grep -qw -- '--releasenotes';then # if --releasenotes was used # grep out the list of names from RELEASE-NOTES # split on ", " # remove leading white spaces grep "^ [^ \(]" RELEASE-NOTES| \ grep "^ [^ \(]" RELEASE-NOTES| \ sed 's/, */\n/g'| \ sed 's/, */\n/g'| \ sed 's/^ *//' sed 's/^ *//' fi )| \ )| \ sed -f ./docs/THANKS-filter | \ sed -f ./docs/THANKS-filter | \ grep ' ' | \ grep ' ' | \ Loading Loading
scripts/contributors.sh +4 −12 Original line number Original line Diff line number Diff line Loading @@ -22,12 +22,9 @@ ########################################################################### ########################################################################### # # # This script shows all mentioned contributors from <hash> until HEAD. To aid # This script shows all mentioned contributors from the given <hash>/<tag> # when writing RELEASE-NOTES and THANKS. # until HEAD and adds the contributors already mentioned in the existing # # RELEASE-NOTES. # Use --releasenotes to also include the names from the existing RELEASE-NOTES # file, which is handy when we've added names manually in there that should be # included in an updated list. # # start=$1 start=$1 Loading Loading @@ -55,15 +52,10 @@ tr , '\012' | \ sed 's/ and /\n/' | \ sed 's/ and /\n/' | \ sed -e 's/^ //' -e 's/ $//g' sed -e 's/^ //' -e 's/ $//g' if echo "$*" | grep -qw -- '--releasenotes';then # if --releasenotes was used # grep out the list of names from RELEASE-NOTES # split on ", " # remove leading white spaces grep "^ [^ \(]" RELEASE-NOTES| \ grep "^ [^ \(]" RELEASE-NOTES| \ sed 's/, */\n/g'| \ sed 's/, */\n/g'| \ sed 's/^ *//' sed 's/^ *//' fi )| \ )| \ sed -f ./docs/THANKS-filter | \ sed -f ./docs/THANKS-filter | \ grep ' ' | \ grep ' ' | \ Loading