Hi,

> So, dpatch-edit-patch produces horrid-looking diff headers:
> 
>      diff -urNad --exclude=CVS --exclude=.svn ./src/foo.h 
> /tmp/dpep-work.XujkX1/foo-1.0/src/foo.h
>      --- ./src/foo.h  1996-03-16 10:58:58.000000000 -0600
>      +++ /tmp/dpep-work.XujkX1/foo-1.0/src/foo.h      2005-08-04 
> 13:39:08.000000000 -0500
> 
> These look bad, but also, the /tmp/dpep-work.XujkX1 changes every time
> dpatch-edit-patch runs.  So diffing two versions of a patch produces
> lots of noise, for *every* file touched by the patch - even the files I
> did not modify this time.  That noise also ends up in the cvs/svn
> commit.

Have you actually tested this?
You may realize that patch command does not preserve timestamps,
and there will always be a diff.


I'm not against making the patch file more beautiful; 
but what you want is not completely achieved.


--- debian/patches/02_create_two.dpatch~~       2005-08-06 15:13:03.796774352 
+0900
+++ debian/patches/02_create_two.dpatch 2005-08-06 15:13:04.867611560 +0900
@@ -7,7 +7,7 @@
 @DPATCH@
 diff -urNad dpatch-test~/02_create_patch.sh dpatch-test/02_create_patch.sh
 --- dpatch-test~/02_create_patch.sh    1970-01-01 09:00:00.000000000 +0900
-+++ dpatch-test/02_create_patch.sh     2005-08-06 15:12:59.000000000 +0900
++++ dpatch-test/02_create_patch.sh     2005-08-06 15:13:04.683639528 +0900
 @@ -0,0 +1,26 @@
 +#!/bin/bash
 +##: check generation of initial patch



regards,
        junichi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to