[PATCH] qf: add diff option to quilt refresh

Rodrigo Vivi rodrigo.vivi at intel.com
Wed Apr 11 15:31:58 UTC 2018


On Mon, Apr 09, 2018 at 09:54:53AM +0200, Daniel Vetter wrote:
> On Fri, Apr 06, 2018 at 02:53:13PM -0700, Lucas De Marchi wrote:
> > This adds the name of the function to the diff hunk. More important than
> > the eye candy is that it makes the diff on quilt to match (tested with
> > quilt 0.61 and 0.65). This means that refreshing the patch doesn't
> > change it on different environments, unless the patch really changed.
> > 
> > Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
> 
> Oh, I always wanted this, never knew how. This sounds awesome.
> 
> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>

pushed, thanks

> 
> > ---
> >  qf | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/qf b/qf
> > index 629f1b349a1f..b75e702793d8 100755
> > --- a/qf
> > +++ b/qf
> > @@ -190,7 +190,7 @@ function quilt_clean_check
> >  }
> >  
> >  function quilt_refresh {
> > -	quilt refresh  --no-timestamps -u -p ab --no-index
> > +	QUILT_DIFF_OPTS="-p" quilt refresh  --no-timestamps -u -p ab --no-index
> >  }
> >  
> >  qf=$(basename $0)
> > -- 
> > 2.14.3
> > 
> > _______________________________________________
> > dim-tools mailing list
> > dim-tools at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dim-tools
> 
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch


More information about the dim-tools mailing list