Prechádzať zdrojové kódy

a better way to count commits

Stasik0 10 rokov pred
rodič
commit
8046001cac
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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