aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-06-04 19:49:38 +0200
committerTeddy Wing2019-06-04 19:49:38 +0200
commitbed6e31548b177c57e4f79b2a35dc622906e02c7 (patch)
tree2fcf1d8fcc8c1b58b91537485e431f75c5523bab
parent0f7bee30e4d8791b7ffb72b0a993eda7c189f068 (diff)
downloadcode-review-bed6e31548b177c57e4f79b2a35dc622906e02c7.tar.bz2
Add code-review-stat
Outputs a stat of the changed files.
-rwxr-xr-xcode-review-stat9
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"