various indentation fixes
This commit is contained in:
parent
20e73c7cec
commit
f8427ccf2d
35
sig
35
sig
|
@ -340,8 +340,8 @@ verify(){
|
||||||
local -r ref=${3:-HEAD}
|
local -r ref=${3:-HEAD}
|
||||||
local sig_count=0 seen_fps fp commit_sig tag_sigs note_sigs
|
local sig_count=0 seen_fps fp commit_sig tag_sigs note_sigs
|
||||||
[ -d .git ] || [ -L .git ] || [ -f .git ] \
|
[ -d .git ] || [ -L .git ] || [ -f .git ] \
|
||||||
|| die "Error: This folder is not a git repository"
|
|| die "Error: This folder is not a git repository"
|
||||||
if [[ $(git diff --stat) != '' ]]; then
|
if [[ $(git diff --stat) != '' ]]; then
|
||||||
die "Error: git tree is dirty"
|
die "Error: git tree is dirty"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -355,7 +355,7 @@ verify(){
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tag_sigs=$(verify_git_tags "$ref") && \
|
tag_sigs=$(verify_git_tags "$ref") && \
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
IFS=':' read -r -a sig <<< "$line"
|
IFS=':' read -r -a sig <<< "$line"
|
||||||
fp="${sig[1]}"
|
fp="${sig[1]}"
|
||||||
uid="${sig[5]}"
|
uid="${sig[5]}"
|
||||||
|
@ -366,7 +366,7 @@ verify(){
|
||||||
done <<< "$tag_sigs"
|
done <<< "$tag_sigs"
|
||||||
|
|
||||||
note_sigs=$(verify_git_notes "$ref") && \
|
note_sigs=$(verify_git_notes "$ref") && \
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
IFS=':' read -r -a sig <<< "$line"
|
IFS=':' read -r -a sig <<< "$line"
|
||||||
fp="${sig[1]}"
|
fp="${sig[1]}"
|
||||||
uid="${sig[5]}"
|
uid="${sig[5]}"
|
||||||
|
@ -516,19 +516,20 @@ cmd_fetch() {
|
||||||
|
|
||||||
echo "Requested key is not in keyring. Trying keyservers..."
|
echo "Requested key is not in keyring. Trying keyservers..."
|
||||||
for server in \
|
for server in \
|
||||||
ha.pool.sks-keyservers.net \
|
keys.openpgp.org \
|
||||||
hkp://keyserver.ubuntu.com:80 \
|
ha.pool.sks-keyservers.net \
|
||||||
hkp://p80.pool.sks-keyservers.net:80 \
|
hkp://keyserver.ubuntu.com:80 \
|
||||||
pgp.mit.edu \
|
hkp://p80.pool.sks-keyservers.net:80 \
|
||||||
; do
|
pgp.mit.edu \
|
||||||
echo "Fetching key \"${fingerprint}\" from \"${server}\"";
|
; do
|
||||||
gpg \
|
echo "Fetching key \"${fingerprint}\" from \"${server}\"";
|
||||||
--recv-key \
|
gpg \
|
||||||
--keyserver "$server" \
|
--recv-key \
|
||||||
--keyserver-options timeout=10 \
|
--keyserver "$server" \
|
||||||
--recv-keys "${fingerprint}" \
|
--keyserver-options timeout=10 \
|
||||||
&& break
|
--recv-keys "${fingerprint}" \
|
||||||
done
|
&& break
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_add(){
|
cmd_add(){
|
||||||
|
|
Loading…
Reference in New Issue