[PATCH] qf: add diff option to quilt refresh

Lucas De Marchi lucas.demarchi at intel.com
Fri Apr 6 21:53:13 UTC 2018


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



More information about the dim-tools mailing list