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

Lucas De Marchi lucas.demarchi at intel.com
Wed Feb 21 01:02:56 UTC 2018


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



More information about the dim-tools mailing list