From f09bc9eda2426ab0e711ea3928e51f09cc50eb05 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 7 Feb 2023 23:08:40 +0800 Subject: Update --- tools/git/check-repos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/git/check-repos.sh') diff --git a/tools/git/check-repos.sh b/tools/git/check-repos.sh index 5180fc9..abaa3a2 100755 --- a/tools/git/check-repos.sh +++ b/tools/git/check-repos.sh @@ -28,7 +28,7 @@ while read repo remote; do changes="$(git -c color.status=always status --short)" # Diff between from local repo and remote - cherry="$([ -n "`git remote`" ] && git cherry)" + cherry="$([ -n "`git remote`" ] && git cherry 2>/dev/null)" if [[ $COUNT_ONLY == true ]]; then # If '-n' is specified, only count repo with changes/local-diff -- cgit v1.2.3-70-g09d2