`GIT_EXEC_PATH=$GIT_EXEC_PATH:<path-to-git-over-gnunet-repo>` before every git command that uses remotes).
The URL to give to git is gnunet://<location of the repo>/<name of the repo>.
Server:
- - To run the server on a repo, simply copy the two .sh files to its root, and run
+ - To run the server on a repo, simply copy the two .sh files to its root's parent, and run
`./run-daemons.sh <repo-name>`.
- You should also add a gns TXT record containing the peerid serving your repos to your zone.
- This will open the repo for pulling on the url `gnunet://<gns-record-name>/<repo-name>`.
echo >&2 "Running $service on port \`git.$name.git-$service'."
mktempfifo
-while < "$fifo_name" gnunet-cadet -o "git.$name.git-$service" | git "$service" . | (cat; sleep 5) | cat > "$fifo_name"; test 130 != "$?"; do
+while < "$fifo_name" gnunet-cadet -o "git.$name.git-$service" | git "$service" "$name" | (cat; sleep 5) | cat > "$fifo_name"; test 130 != "$?"; do
rm "$fifo_name"
mktempfifo
done