On Tue, Feb 28, 2012 at 12:52:15PM +0100, chrysn wrote:
> when building from a checked out state that is not on a branch (e.g. tag
> debian/1.3.2-2 when both the master and the ubuntu branch are ahead of
> that tag), git-buildpackage fails with
> 
> fatal: ref HEAD is not a symbolic ref

> even though --git-ignore-branch was given; it doesn't have a reason to
> check the current branch at all, though.

With one small exception: git-buildpackage will pass the current branch
name to the posttag command via $GBP_BRANCH.  But I'm sure we can agree
that an empty or dummy value would do just fine in this case.

Also, the same applies to --git-export: checking the current branch is
rather pointless, and $GBP_BRANCH will have no relevant meaning.


-- 
Debian is like Suse with yast turned off, just better. :)
                -- Goswin Brederlow



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to