diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-09 12:10:01 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-09 12:10:01 +0800 |
commit | cda2dc0913dd77d91249afbe5f136f752f9bd7e4 (patch) | |
tree | 2bf9c2b6fb0b8b1dea794cb7185fc425862d256f /tools/git | |
parent | f52d12ef243dde26904432c59e3717bd9dc8b7df (diff) |
Update
Diffstat (limited to 'tools/git')
-rwxr-xr-x | tools/git/check-repos.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git/check-repos.sh b/tools/git/check-repos.sh index abaa3a2..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="$([ -n "`git remote`" ] && git cherry 2>/dev/null)" | 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 |