File quiltrc-support-all-patch-formats-by-default.patch of Package quilt

From: Jean Delvare <jdelvare@suse.de>
Date: Thu, 3 May 2018 08:33:24 +0200
Subject: quiltrc: Support all patch formats by default
Git-commit: 6d2c0da841aeaaec60993441bf6899f1909f310d
Patch-mainline: yes
References: bsc#1088281

Passing --unified to patch by default prevents using other patch
formats. Out of curiosity, I checked if it helped with performance
but was not able to measure any improvement. So stop passing
--unified by default.

Signed-off-by: Jean Delvare <jdelvare@suse.de>

diff --git a/quilt.quiltrc b/quilt.quiltrc
index 58f665e..f0ec21e 100644
--- a/quilt.quiltrc
+++ b/quilt.quiltrc
@@ -3,10 +3,8 @@
 # Options passed to GNU diff when generating patches
 QUILT_DIFF_OPTS="--show-c-function"
 
-# Options passed to GNU patch when applying patches.
-# (For appling patches which are not in unified format, remove the "--unified".)
+# Options passed to GNU patch when applying patches
 #QUILT_PATCH_OPTS="--ignore-whitespace"
-QUILT_PATCH_OPTS="--unified"
 
 # Options passed to diffstat when generating patch statistics
 #QUILT_DIFFSTAT_OPTS="-f0"
openSUSE Build Service is sponsored by