mirror of
https://gitlab.com/pancakes1234/wdiscordbotserver.git
synced 2025-06-16 07:14:21 -06:00
Add script to log insertions and deletions by author
This commit is contained in:
parent
be732995ab
commit
58bc700740
10
fuckass.ps1
Normal file
10
fuckass.ps1
Normal file
@ -0,0 +1,10 @@
|
||||
git log --author="Slipstream" --pretty=tformat: --numstat |
|
||||
ForEach-Object {
|
||||
$parts = $_ -split "`t"
|
||||
if ($parts.Count -ge 2) {
|
||||
$insertions += [int]$parts[0]
|
||||
$deletions += [int]$parts[1]
|
||||
}
|
||||
}
|
||||
"Insertions: $insertions"
|
||||
"Deletions: $deletions"
|
Loading…
x
Reference in New Issue
Block a user