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

Rodrigo Vivi rodrigo.vivi at intel.com
Wed Feb 21 21:55:47 UTC 2018


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>

> ---
>  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


More information about the dim-tools mailing list