]> Nutra Git (v1) - gamesguru/git-remote-gcrypt.git/commitdiff
Use gcrypt: prefix for info messages
authorroot <root@localhost>
Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)
committerroot <root@localhost>
Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)
git-remote-gcrypt

index ea7b6d9bf5fd87534bf5287864526b2bae260084..c2eea8f8dd349413e0de2daf37d7bfe83988b965 100755 (executable)
@@ -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"