Add script for extract commits infotmation
This commit is contained in:
10
phase0.sh
Executable file
10
phase0.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
IFS=$'\n'
|
||||
DATA=(`git log --since="1 week ago" --until="now" --no-merges --format='"%H","%ct","%an","%ae","%s",'`)
|
||||
LINES=(`git log --since="1 week ago" --until="now" --no-merges --pretty=tformat: --shortstat | gawk '(NF > 0){ printf "%s,%s\n",$1,$4 }' -`)
|
||||
|
||||
i=0
|
||||
while [ $i -lt ${#DATA[@]} ]; do
|
||||
echo "${DATA[$i]}${LINES[$i]}"
|
||||
i=$[i + 1]
|
||||
done
|
||||
Reference in New Issue
Block a user