Add comment for configuration parameter split
This commit is contained in:
parent
748338589f
commit
f47930332c
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ make_new_repo()
|
||||||
# ascii-encoded string used for symmetric encryption with GnuPG.
|
# ascii-encoded string used for symmetric encryption with GnuPG.
|
||||||
local RECIPIENTS
|
local RECIPIENTS
|
||||||
echo_info "Setting up new repository at $URL"
|
echo_info "Setting up new repository at $URL"
|
||||||
|
# Split recipients by space, example "a b c" => -R a -R b -R c
|
||||||
RECIPIENTS=$(git config gcrypt.recipients | sed -e 's/\([^ ]\+\)/-R &/g')
|
RECIPIENTS=$(git config gcrypt.recipients | sed -e 's/\([^ ]\+\)/-R &/g')
|
||||||
if [ -z "$RECIPIENTS" ]
|
if [ -z "$RECIPIENTS" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue