#1135721 git-debpush --remote=foobar silently exits

#1135721#5
Date:
2026-05-05 07:27:26 UTC
From:
To:
If the remote passed with a --remote that isn't known by git,
git-debpush exit with code 1 but no error message.  This took a bit of
debugging for me, and I think a friendly error message indicating the
problem here would be a nice improvement.

jas@frallan:~/dpkg/sigsum-c$ git-debpush --remote=origin --quilt=unapplied --upstream=upstream/0.0_git20260504.ab21b9f
jas@frallan:~/dpkg/sigsum-c$ echo $?
1
jas@frallan:~/dpkg/sigsum-c$ git remote -v
dgit
salsa	git@salsa.debian.org:debian/sigsum-c.git (fetch)
salsa	git@salsa.debian.org:debian/sigsum-c.git (push)
up	https://git.glasklar.is/sigsum/core/sigsum-c.git (fetch)
up	https://git.glasklar.is/sigsum/core/sigsum-c.git (push)
jas@frallan:~/dpkg/sigsum-c$

/Simon

#1135721#10
Date:
2026-05-05 09:00:26 UTC
From:
To:
Hi.  Thanks for the report.  I think this is unambiguously a bug.
Programs should not fail without printing an error message.

Simon Josefsson writes ("Bug#1135721: git-debpush --remote=foobar silently exits"):

I think this may be related to (or even have the same underlying cause
as) #1132469.

Ian.