Explorar o código

a better way to count commits

Stasik0 %!s(int64=10) %!d(string=hai) anos
pai
achega
8046001cac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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