From eed63b0d814d0c6f5240e582af1a1fdde20a328d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 11 Sep 2021 10:02:53 +0300 Subject: [PATCH] kiss: don't pull if no remote. Closes #269 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 92acf01..9315565 100755 --- a/kiss +++ b/kiss @@ -1587,7 +1587,7 @@ pkg_update() { # Update each repository in '$KISS_PATH'. for repo do - if ok "$(git -C "$repo" remote 2>/dev/null)"; then + if git -C "$repo" rev-parse 'HEAD@{upstream}' >/dev/null 2>&1; then repo_type=git # Get the Git repository root directory.