[PATCH 1/3] qf: do not check baseline for clean-patches

Rodrigo Vivi rodrigo.vivi at intel.com
Tue Feb 27 01:12:43 UTC 2018


On Mon, Feb 26, 2018 at 12:50:49PM +0200, Jani Nikula wrote:
> On Wed, 21 Feb 2018, Rodrigo Vivi <rodrigo.vivi at intel.com> wrote:
> > On Tue, Feb 20, 2018 at 05:02:56PM -0800, Lucas De Marchi wrote:
> >> The clean-patches command operates locally in the repository and doesn't
> >> need the baseline to be checked, so just remove the check.
> >> 
> >> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
> >
> > Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> 
> Rodrigo, please push qf patches as you see fit.

Thanks

all 3 pushed.

> 
> BR,
> Jani.
> 
> >
> >> ---
> >>  qf | 2 --
> >>  1 file changed, 2 deletions(-)
> >> 
> >> diff --git a/qf b/qf
> >> index 5d0a49abfcf9..a7b8b919d178 100755
> >> --- a/qf
> >> +++ b/qf
> >> @@ -303,7 +303,6 @@ function qf_refresh
> >>  function qf_clean_patches
> >>  {
> >>  	cd_toplevel
> >> -	repo_check 0
> >>  
> >>  	for patch in patches/{*/,/}*.patch ; do
> >>  		if grep "^${patch##patches/}$" patches/series &> /dev/null ; then
> >> @@ -480,7 +479,6 @@ function qf_patch_amend
> >>  function qf_list_unused_patches
> >>  {
> >>  	cd_toplevel
> >> -	repo_check 1
> >>  
> >>  	for patch in patches/{*/,/}*.patch ; do
> >>  		if ! grep "^${patch#patches/}$" patches/series > /dev/null ; then
> >> -- 
> >> 2.14.3
> >> 
> >> _______________________________________________
> >> dim-tools mailing list
> >> dim-tools at lists.freedesktop.org
> >> https://lists.freedesktop.org/mailman/listinfo/dim-tools
> > _______________________________________________
> > dim-tools mailing list
> > dim-tools at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dim-tools
> 
> -- 
> Jani Nikula, Intel Open Source Technology Center


More information about the dim-tools mailing list