remove unused extra args that would conflict with an implied repo
This commit is contained in:
14
gpull
14
gpull
@@ -13,22 +13,14 @@ if [[ -z "$token" ]]; then
|
||||
pass show gitea/token >&2
|
||||
exit 1
|
||||
fi
|
||||
gpg_key='75D6600BEF4E8E8F'
|
||||
url="https://luke:${token}@git.drheck.dev/luke/${project}.git"
|
||||
if [[ "$project" == 'pass' ]]; then
|
||||
pass git config user.signingkey "$gpg_key"!
|
||||
pass git config commit.gpgsign true
|
||||
if [[ -n "$@" ]]; then
|
||||
pass git pull "$@" "$url"
|
||||
else
|
||||
pass git pull "$url"
|
||||
fi
|
||||
pass git pull "$url"
|
||||
else
|
||||
gpg_key='75D6600BEF4E8E8F'
|
||||
git config user.signingkey "$gpg_key"!
|
||||
git config commit.gpgsign true
|
||||
if [[ -n "$@" ]]; then
|
||||
git pull "$@" "$url"
|
||||
else
|
||||
git pull "$url"
|
||||
fi
|
||||
git pull "$url"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user