diff options
author | Teddy Wing | 2019-06-04 19:49:38 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-04 19:49:38 +0200 |
commit | bed6e31548b177c57e4f79b2a35dc622906e02c7 (patch) | |
tree | 2fcf1d8fcc8c1b58b91537485e431f75c5523bab | |
parent | 0f7bee30e4d8791b7ffb72b0a993eda7c189f068 (diff) | |
download | code-review-bed6e31548b177c57e4f79b2a35dc622906e02c7.tar.bz2 |
Add code-review-stat
Outputs a stat of the changed files.
-rwxr-xr-x | code-review-stat | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/code-review-stat b/code-review-stat new file mode 100755 index 0000000..61f58ed --- /dev/null +++ b/code-review-stat @@ -0,0 +1,9 @@ +#!/bin/sh + +ARGS='master..' + +if [ "$#" -gt 0 ]; then + ARGS="$@" +fi + +git diff --stat "$ARGS" |