Get rid of all decimal-time values in the diff headers,
authorWayne Davison <wayned@samba.org>
Wed, 23 Mar 2005 17:58:28 +0000 (17:58 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 23 Mar 2005 17:58:28 +0000 (17:58 +0000)
not just an all-zero value.

verify-patches

index d4d2fcc..8245bdf 100755 (executable)
@@ -241,7 +241,7 @@ sub generate_new_patch
        next if /^(diff -|Index: |Only in )/;
        s#^\Q--- cvsdir/\E#--- orig/#;
        s#^\Q+++ workdir/\E#+++ #;
-       s#(\.000000000)? \+0000$##;
+       s#(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d)(\.\d\d\d\d\d\d\d\d\d)? \+0000$#$1#;
        print OUT $_;
     }
     close IN;