Package: git-buildpackage
Version: 0.7.2
Severity: normal

Hi,

gbp-dch(1) says:
| If no  arguments  are  given,  gbp  dch starts  from  the last tagged
| Debian package version up to the current tip of the current branch.

In reality, it says "You are not on branch 'master'".

|[51/549]mh@salida:~/packages/apg/apg$ gbp dch --verbose
|gbp:debug: ['git', 'rev-parse', '--show-cdup']
|gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
|gbp:debug: ['git', 'symbolic-ref', 'HEAD']
|gbp:debug: ['git', 'show-ref', 'refs/heads/2.2.3.dfsg.1-3']
|gbp:error: You are not on branch 'master' but on '2.2.3.dfsg.1-3'
|gbp:error: Use --ignore-branch to ignore or --debian-branch to set the branch 
name.
|[52/550]mh@salida:~/packages/apg/apg$ git status
|On branch 2.2.3.dfsg.1-3
|nothing to commit, working directory clean
|[55/553]mh@salida:~/packages/apg/apg$ git tag
|debian/2.2.3.dfsg.1-2
|[56/554]mh@salida:~/packages/apg/apg$

Please make things work as documented or change the documentation. Thanks!

Greetings
Marc

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.4-zgsrv20080 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-buildpackage depends on:
ii  devscripts            2.16.1
ii  git                   1:2.7.0-1
ii  man-db                2.7.5-1
ii  python-dateutil       2.4.2-1
ii  python-pkg-resources  20.1.1-1
ii  python-six            1.10.0-3
pn  python:any            <none>

Versions of packages git-buildpackage recommends:
ii  pristine-tar     1.33
pn  python-requests  <none>
ii  sbuild           0.68.0-1

Versions of packages git-buildpackage suggests:
pn  python-notify  <none>
ii  sudo           1.8.15-1.1
ii  unzip          6.0-20

-- no debconf information

Reply via email to