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.demar...@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

_______________________________________________
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Reply via email to