tag 564791 -patch
thanks,

Hi Joel,
On Mon, Jan 11, 2010 at 11:38:07PM +0100, Joel Rosdahl wrote:
[..snip..] 
> As can be seen above, git-buildpackage creates the original tar file
> from HEAD's upstream version, which of course leads to failure.
> 
> Attached is a patch that fixes the problem for me. It's not heavily
> tested, but works for me and my use cases. I have not tried the overlay
> feature or other exotic option combinations.
I can see the problem. You can of course always set
--git-upstream-branch=... to get the correct upstream version but it'd
certainly be much better to have this automated. 
The right thing to do here is to parse the changelog at --export (via
git cat-file -p debian/0.2.1:debian/changelog) and get the right
revision to pass this as upstream_branch upfront. This makes sure we
don't break anything else and it's better readable.
Cheers,
 -- Guido



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to