aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-28 11:08:28 -0300
committerEuAndreh <eu@euandre.org>2022-10-28 11:08:28 -0300
commite23b70f1bad64720cc6905bc8358b18b6c09712d (patch)
tree50cd6db9ffa650b3c5ed08ac7725e38106565c07 /bin
parentbin/vcs: Add fossil_status() (diff)
downloaddotfiles-e23b70f1bad64720cc6905bc8358b18b6c09712d.tar.gz
dotfiles-e23b70f1bad64720cc6905bc8358b18b6c09712d.tar.xz
bin/repos: Omit warning on not guessing the type of repository
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repos2
1 files changed, 1 insertions, 1 deletions
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