mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
7 lines
226 B
Bash
Executable File
7 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
#A=`hg diff $@ | grep -v '+++' | grep ^+ |wc -l`
|
|
#B=`hg diff $@ | grep -v -- '---' | grep ^- |wc -l`
|
|
A=`git diff $@ | grep -v '+++' | grep ^+ |wc -l`
|
|
B=`git diff $@ | grep -v -- '---' | grep ^- |wc -l`
|
|
echo $((A-B))
|