aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-remote-gcrypt
diff options
context:
space:
mode:
authorroot <root@localhost>2012-11-07 07:21:51 +0900
committerroot <root@localhost>2012-11-07 07:21:51 +0900
commitb54768df01ee2421f5e7fc3744ca47b6887ed8c0 (patch)
treee5199b88e81dc559aae18e1cfa1d35676ba4f742 /git-remote-gcrypt
parent181bf7f38b7d05b76ae16d42c4a5c5b252067105 (diff)
downloadgit-remote-gcrypt-b54768df01ee2421f5e7fc3744ca47b6887ed8c0.tar.gz
Simplify formatting of the manifest
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-xgit-remote-gcrypt11
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" ]