commit 3acf98da6a0ef0d706f079023715049ed09d81a4 parent 3ac28daf968a7347720cba4c8bbc15ae9f5a1148 Author: Robert Russell <robert@rr3.xyz> Date: Wed, 20 May 2026 21:35:27 -0700 Add kludge for git-remote-ext bug Diffstat:
| M | git-remote-gits | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/git-remote-gits b/git-remote-gits @@ -30,4 +30,6 @@ EOF : "${GITS_PORT:=9419}" : "${GITS_PATH:=/}" -exec git remote-ext "$REMOTE" "ncat --ssl-verify $GITS_HOST $GITS_PORT %G$GITS_PATH" +# The suicide (kill $$) is a kludge to circumvent an apparent git remote-ext +# bug, namely that it doesn't exit when the command fails. +exec git remote-ext "$REMOTE" "sh -c ncat% --ssl-verify% $GITS_HOST% $GITS_PORT% ||% kill% $$ %G$GITS_PATH"