aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Michael Lehenbauer <mikelehen@google.com>2018-01-09 12:57:21 -0800
committerGravatar Michael Lehenbauer <mikelehen@google.com>2018-01-09 12:57:21 -0800
commitaa00c7444982de08b21604965a708d1cad5188f7 (patch)
tree166325a14805321cbf5045fdd4a52dd634747218 /scripts
parent2c6682c66ea7b86b3b7cb52e623086b4184d500a (diff)
parentc18af34fca72b5721cab4e3b26da7469df8fcc6b (diff)
Merge branch 'master' into mikelehen/merge-master-to-firestore-api-changes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/style.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/style.sh b/scripts/style.sh
index 494a937..4422350 100755
--- a/scripts/style.sh
+++ b/scripts/style.sh
@@ -27,7 +27,7 @@ set -euo pipefail
if [[ $# -gt 0 ]]; then
if git rev-parse "$1" -- >& /dev/null; then
# Argument was a branch name show files changed since that branch
- git diff --name-only --relative
+ git diff --name-only --relative "$1"
else
# Otherwise assume the passed things are files or directories
find "$@" -type f