projects
/
git-over-gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6fbb4f
)
Change logging a bit for git-remote-gnunet
author
Amélia Coutard-Sander
<git@ameliathe1st.gay>
Mon, 25 Nov 2024 20:56:15 +0000
(21:56 +0100)
committer
Amélia Coutard-Sander
<git@ameliathe1st.gay>
Mon, 25 Nov 2024 20:56:15 +0000
(21:56 +0100)
git-remote-gnunet
patch
|
blob
|
history
diff --git
a/git-remote-gnunet
b/git-remote-gnunet
index 21626799af7430103e8f47da3ac6f9799bfd249a..23add181e4d462efe8e730f827d02abbf8366821 100755
(executable)
--- a/
git-remote-gnunet
+++ b/
git-remote-gnunet
@@
-19,12
+19,13
@@
while read -r cmd arg; do
done
echo ''
+echo >&2 "Looking up $gns."
server="$(gnunet-gns -u "$gns" -t TXT -r)"
if test -z "$server"; then
- echo
"Address lookup failed: \`$gns'." >&2
+ echo
>&2 "Address lookup failed: \`$gns'."
exit 1
fi
peer="$(echo "$server" | cut -d: -f1)"
port="$(echo "$server" | cut -d: -f2)"
-echo
"Attempting to connect to peer $peer, on port $port-$arg." >&2
+echo
>&2 "Attempting to connect to peer $peer, on port $port-$arg."
exec gnunet-cadet "$peer" "$port-$arg"