index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/nit-picker | 12 |
diff --git a/bin/nit-picker b/bin/nit-picker index 309fb5b..63f71aa 100755 --- a/bin/nit-picker +++ b/bin/nit-picker @@ -87,10 +87,14 @@ while pgrep -x ii >/dev/null; do # shellcheck disable=SC2154 if ! git -C "${git_dir}" cat-file -t "${git_rev}" 2> /dev/null | \ grep -qxF 'commit'; then - printf 'commit %s is missing from repository %s\n' \ - "${git_rev}" \ - "${git_repo}" \ - | irc_say + git -C "${git_dir}" fetch --all -p >/dev/null 2>&1 + if ! git -C "${git_dir}" cat-file -t "${git_rev}" 2> /dev/null | \ + grep -qxF 'commit'; then + printf 'commit %s is missing from repository %s\n' \ + "${git_rev}" \ + "${git_repo}" \ + | irc_say + fi fi ;; *) |