Hello, On Tue 24 Jun 2025 at 02:53pm +02, Andrej Shadura wrote:
> Package: git-debpush
> Version: 13.4
> Severity: normal
>
> Hello,
>
> I tried to use git-debpush with a native package, and forgot that it is,
> in fact, native. I used --gbp, and that resulted in an error:
>
> GIT_TRACE=1 git debpush --quilt=gbp
> 14:48:11.055282 git.c:750 trace: exec: git-debpush
> --quilt=gbp
> 14:48:11.055329 run-command.c:657 trace: run_command: git-debpush
> --quilt=gbp
> 14:48:11.062485 git.c:465 trace: built-in: git symbolic-ref
> --quiet HEAD
> 14:48:11.065416 git.c:465 trace: built-in: git symbolic-ref
> -q HEAD
> 14:48:11.067971 git.c:465 trace: built-in: git rev-parse
> --verify 'refs/heads/debian/unstable^{commit}'
> ...
> 14:48:11.264317 git.c:465 trace: built-in: git checkout -q
> -b upstream ''
> fatal: empty string is not a valid pathspec. please use . instead if you
> meant to match all paths
>
> I want to be able to not have to think about the need to use --gbp,
> since most of my packages use gbp layout, maybe under five use
> patches-applied layout, and just a few are native.
Hmm, you only need to specify the quilt mode at all the first time you
push a package. I think if I passed --gbp while trying to upload a
native package I would appreciate being told "are you sure you're
uploading the package you think you are?"
--
Sean Whitton
signature.asc
Description: PGP signature

