From e23b70f1bad64720cc6905bc8358b18b6c09712d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 28 Oct 2022 11:08:28 -0300 Subject: bin/repos: Omit warning on not guessing the type of repository --- bin/repos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/repos') diff --git a/bin/repos b/bin/repos index 32fe1cd..bf5c8c7 100755 --- a/bin/repos +++ b/bin/repos @@ -131,7 +131,7 @@ shift $((OPTIND - 1)) is_repository() { - TYPE="$(vcs -C "$1" -t)" + TYPE="$(vcs -C "$1" -t 2>/dev/null)" if [ -n "$TYPE" ]; then printf '%s:%s\n' "$TYPE" "$1" return 0 -- cgit v1.2.3