quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] add p option


From: Con Kolivas
Subject: [Quilt-dev] add p option
Date: Wed, 19 Jan 2005 22:47:49 +1100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Hi

quilt is an incredibly useful patchscript for kernel patching. It would be nice if the -p option was also used when diff'ing as it makes for much clearer patches which we often review.

Attached is a tiny patch to add the option by default to quilt-0.32

Cheers,
Con
Index: quilt-0.32/scripts/patchfns.in
===================================================================
--- quilt-0.32.orig/scripts/patchfns.in 2004-03-20 05:01:54.000000000 +1100
+++ quilt-0.32/scripts/patchfns.in      2005-01-19 22:43:40.000000000 +1100
@@ -521,7 +521,7 @@ diff_file()
                new_hdr=$dir/$file
        fi
 
-       @DIFF@ -Nu $QUILT_DIFF_OPTS $old_file $new_file |
+       @DIFF@ -Nup $QUILT_DIFF_OPTS $old_file $new_file |
        if read line
        then
                echo "Index: $new_hdr"

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]