diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-16 02:21:17 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-16 02:21:17 +0200 | 
| commit | 6e3c07b70a1f3082afa2115ccac790d859d83b7b (patch) | |
| tree | 4157e3ba11442b40a3a2fbf0092526df988362cc /bin/common/gt | |
| parent | 4a58b30d435ba8560f933a7629e820a3d4e81487 (diff) | |
checkpoint
Diffstat (limited to 'bin/common/gt')
| -rwxr-xr-x | bin/common/gt | 1 | 
1 files changed, 1 insertions, 0 deletions
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'  | 
