Sfoglia il codice sorgente

a better way to count commits

Stasik0 10 anni fa
parent
commit
8046001cac
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tools/.coverity.sh

+ 1 - 1
tools/.coverity.sh

@@ -5,7 +5,7 @@
 # of the day to the coverity scan service
 #
 
-COMMITS=`git log --since=today.midnight | grep commit | wc -l`
+COMMITS=`git log --since=today.midnight --oneline | wc -l`
 
 if [[ "$COMMITS" -le "1" ]]; then
     #first commit a day - push changes to branch coverity_scan