This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8301842  Don't feed blank lines (from git log) into contribulyze
8301842 is described below

commit 830184215706f0c0ad875e66b4c2fb1964ffc966
Author: Mick Semb Wever <[email protected]>
AuthorDate: Sun May 28 13:41:36 2023 +0200

    Don't feed blank lines (from git log) into contribulyze
---
 contribulyze/contribulyze.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contribulyze/contribulyze.sh b/contribulyze/contribulyze.sh
index c122a88..a6b5821 100755
--- a/contribulyze/contribulyze.sh
+++ b/contribulyze/contribulyze.sh
@@ -70,6 +70,6 @@ for group in ${groups[*]} ; do
       ;;
     esac
 
-    ( for d in ${groupings[*]} ; do cd /tmp/contribulyze-repos/${d} ; git log 
--no-merges --since="${git_since}" . ; cd - ; done  ) | 
${script_dir}/contribulyze.py -t "${group//../} ${period//_/ }"
+    ( for d in ${groupings[*]} ; do cd /tmp/contribulyze-repos/${d} ; git log 
--no-merges --since="${git_since}" . ; cd - ; done  ) | awk NF | 
${script_dir}/contribulyze.py -t "${group//../} ${period//_/ }"
   done
 done


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to