diff options
author | root <root@localhost> | 2012-11-07 07:21:51 +0900 |
---|---|---|
committer | root <root@localhost> | 2012-11-07 07:21:51 +0900 |
commit | b54768df01ee2421f5e7fc3744ca47b6887ed8c0 (patch) | |
tree | e5199b88e81dc559aae18e1cfa1d35676ba4f742 | |
parent | 181bf7f38b7d05b76ae16d42c4a5c5b252067105 (diff) | |
download | git-remote-gcrypt-b54768df01ee2421f5e7fc3744ca47b6887ed8c0.zip git-remote-gcrypt-b54768df01ee2421f5e7fc3744ca47b6887ed8c0.tar.gz git-remote-gcrypt-b54768df01ee2421f5e7fc3744ca47b6887ed8c0.tar.bz2 |
Simplify formatting of the manifest
-rwxr-xr-x | git-remote-gcrypt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt index b353691..3db71d5 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -84,7 +84,6 @@ splitcolon() setvar "$2" "${1%%:*}" setvar "$3" "${1#*:}" } -repoidstr() { xecho "repo $Repoid"; } ## gitception part # Fetch giturl $1, file $2 @@ -718,9 +717,13 @@ EOF TmpManifest_Enc="$Localdir/tmp_manifest.$$" - (xecho "$Branchlist"; xecho "$Packlist"; xecho "$Keeplist"; - repoidstr; xecho "$Extension_list") | - PRIVENCRYPT "$Recipients" > "$TmpManifest_Enc" + PRIVENCRYPT "$Recipients" > "$TmpManifest_Enc" <<EOF +$Branchlist +$Packlist +$Keeplist +repo $Repoid +$Extension_list +EOF # Upload pack if [ -s "$TmpObjlist" ] |