From 6e3c07b70a1f3082afa2115ccac790d859d83b7b Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 16 Oct 2024 02:21:17 +0200 Subject: checkpoint --- bin/common/gt | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/common/gt') diff --git a/bin/common/gt b/bin/common/gt index d2ae3e5..78cc913 100755 --- a/bin/common/gt +++ b/bin/common/gt @@ -56,6 +56,7 @@ while getopts ":a:c:f:lsheu" opt; do repo="$(git rev-parse --show-toplevel)" remote_url="$(git remote show -n origin | awk '/^ Fetch/ {print $NF}')" + # TODO: check if remote_url is not empty if grep "^$repo " "$REPOS" >/dev/null 2>&1; then printf >&2 'added already.\n' -- cgit v1.2.3