#1144170 git-debpush tests should have caught git-merge-base botch

#1144170#5
Date:
2026-08-11 15:10:07 UTC
From:
To:
My system upgraded me to this version, and I'm seeing these errors:

jas@frallan:~/dpkg/golang-github-charmbracelet-x$ git-debpush --remote=origin --quilt=unapplied --upstream=upstream/0.0_git20251028.0cf22f8+ds
git-debpush: checking state at git@salsa.debian.org:go-team/packages/golang-github-charmbracelet-x.git
/usr/bin/git-debpush: rad 1017: git-merge-base: kommandot finns inte

I made uploads rather recently with an earlier version and did not see
this, so I believe the error message was introduced recently.

/Simon

#1144170#10
Date:
2026-08-11 22:24:04 UTC
From:
To:
Simon Josefsson writes ("Bug#1144142: git-debpush complains about missing 'git-merge-base'"):

Hi.  Thanks for the report.

This seems to be a bug in commit 533683852981
  git-debpush: Push refs/heads/upstream too, when appropriate
which was in dgit 16.4.

I don't know why the tests didn't catch this (and I'm not in a position
to investigate that now).  It WFM locally because I have
/usr/lib/git-core on my personal PATH.

Yes.

I'll upload a fix shortly.  In the meantime downgrading to 16.3 would
help if you can get your apt machinery to do that.

Ian.