remove unused extra args that would conflict with an implied repo

This commit is contained in:
2022-11-18 16:51:57 -05:00
parent 2bf4e928dd
commit 3db78cdda9
4 changed files with 9 additions and 36 deletions

14
gpull
View File

@@ -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