On Tue, Feb 07, 2017 at 09:10:17AM +1300, Chris Lamb wrote:
> Guido Günther wrote:
> 
> 
> > Argh...we must not pass that long line to update-ref (as the message for
> > the reflog) we only want it in the commit message
> 
> Did you see my patch? We could still include part of the changelog...

We only shorten the reflog, not the changelog. It was a bug in the first
place that we leaked the whole changelog into the reflog. This was
o.k. as both were just the "imported <whatever>" onelineers but now they
need to be different:

$ gbp-from-sourcetree import_dsc ../git-buildpackage_0.8.12.1.dsc

$ git reflog 
69c3697 HEAD@{0}: reset: moving to 69c369766e7b0fb5cc5c71e7510c7f858b62b1b3
69c3697 HEAD@{1}: gbp: Import Debian version 0.8.12.1

$ git log

commit 69c369766e7b0fb5cc5c71e7510c7f858b62b1b3
Author: Guido Günther <a...@sigxcpu.org>
Date:   Fri Jan 27 14:50:30 2017 +0100

    Import Debian version 0.8.12.1
    
    git-buildpackage (0.8.12.1) unstable; urgency=medium
    
      * Upload to unstable
    
    git-buildpackage (0.8.12) experimental; urgency=medium


Cheers,
 -- Guido

Reply via email to