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.


-- 
Cheers,
  Andrej

Reply via email to