aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/git/check-repos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/git/check-repos.sh')
-rwxr-xr-xtools/git/check-repos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git/check-repos.sh b/tools/git/check-repos.sh
index e6f3b6c..5180fc9 100755
--- a/tools/git/check-repos.sh
+++ b/tools/git/check-repos.sh
@@ -28,7 +28,7 @@ while read repo remote; do
28 changes="$(git -c color.status=always status --short)" 28 changes="$(git -c color.status=always status --short)"
29 29
30 # Diff between from local repo and remote 30 # Diff between from local repo and remote
31 cherry="$(git cherry)" 31 cherry="$([ -n "`git remote`" ] && git cherry)"
32 32
33 if [[ $COUNT_ONLY == true ]]; then 33 if [[ $COUNT_ONLY == true ]]; then
34 # If '-n' is specified, only count repo with changes/local-diff 34 # If '-n' is specified, only count repo with changes/local-diff