Use gcrypt: prefix for info messages
This commit is contained in:
parent
ad49e025b9
commit
18e9ad1121
1 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ append()
|
|||
}
|
||||
|
||||
tac() { sed '1!G;h;$!d'; }
|
||||
echo_info() { echo "$@" >&2; }
|
||||
echo_info() { echo "gcrypt:" "$@" >&2; }
|
||||
|
||||
make_new_repo()
|
||||
{
|
||||
|
@ -119,9 +119,9 @@ make_new_repo()
|
|||
RECIPIENTS=$(git config gcrypt.recipients | sed -e 's/\([^ ]\+\)/-R &/g')
|
||||
if [ -z "$RECIPIENTS" ]
|
||||
then
|
||||
echo_info "> You must configure which GnuPG recipients can access the repository."
|
||||
echo_info "> To setup for all your git repositories, use::"
|
||||
echo_info "> git config --global gcrypt.recipients KEYID"
|
||||
echo_info "You must configure which GnuPG recipients can access the repository."
|
||||
echo_info "To setup for all your git repositories, use::"
|
||||
echo_info " git config --global gcrypt.recipients KEYID"
|
||||
exit 1
|
||||
fi
|
||||
PUTREPO "$URL"
|
||||
|
|
Loading…
Reference in a new issue