File: git-stat.sh

package info (click to toggle)
springlobby 0.274-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,960 kB
  • sloc: cpp: 76,749; ansic: 62,823; python: 468; sh: 289; xml: 52; makefile: 40; sed: 16
file content (17 lines) | stat: -rwxr-xr-x 293 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/bash

REVS1=`git tag -l "r*"`
REVS2=`git tag -l "0*"`
REVS1=($REVS1)
REVS2=($REVS2)

REVS=( ${REVS1[@]} ${REVS2[@]} )

NUMREVS=${#REVS[*]}

for i in $(seq 1 $NUMREVS) ; do
    echo
    echo "diff ${REVS[$i-1]} ${REVS[$i]}"
    git diff ${REVS[$i-1]} ${REVS[$i]} --shortstat
    
 done