mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 05:09:43 +00:00
4801bbc13d
* Boolify some rdebug apis * Make json.parse arg const
9 lines
336 B
Bash
Executable File
9 lines
336 B
Bash
Executable File
#!/bin/sh
|
|
cd "$(dirname $0)"/..
|
|
# alias locdiff='echo $((`git diff |grep ^+ | wc -l`-`git diff |grep ^- | wc -l`))'
|
|
#A=`hg diff $@ | grep -v '+++' | grep ^+ |wc -l`
|
|
#B=`hg diff $@ | grep -v -- '---' | grep ^- |wc -l`
|
|
A="$(git diff "$@" | grep -v '+++' | grep -c ^+)"
|
|
B="$(git diff "$@" | grep -v -- '---' | grep -c ^-)"
|
|
echo "$((A-B))"
|