Updated to apply cleanly.
[rsync/rsync-patches.git] / date-only.diff
index 908a00b..e6c531d 100644 (file)
@@ -15,9 +15,9 @@ Jeremy Bornstein
 
 [Patched update to have context and apply to latest CVS source.]
 
---- generator.c        15 Apr 2004 16:55:23 -0000      1.79
-+++ generator.c        15 Apr 2004 19:06:13 -0000
-@@ -50,11 +50,14 @@ extern int list_only;
+--- generator.c        5 May 2004 17:15:03 -0000       1.81
++++ generator.c        8 May 2004 18:36:12 -0000
+@@ -51,11 +51,14 @@ extern int list_only;
  extern int only_existing;
  extern int orig_umask;
  extern int safe_symlinks;
@@ -32,8 +32,8 @@ Jeremy Bornstein
        if (st->st_size != file->length) {
                return 0;
        }
---- options.c  14 Apr 2004 23:33:34 -0000      1.146
-+++ options.c  15 Apr 2004 19:06:13 -0000
+--- options.c  6 May 2004 21:08:01 -0000       1.148
++++ options.c  8 May 2004 18:36:13 -0000
 @@ -82,6 +82,7 @@ int keep_partial = 0;
  int safe_symlinks = 0;
  int copy_unsafe_links = 0;
@@ -51,7 +51,7 @@ Jeremy Bornstein
    rprintf(F," -T  --temp-dir=DIR          create temporary files in directory DIR\n");
    rprintf(F,"     --compare-dest=DIR      also compare destination files relative to DIR\n");
 @@ -316,6 +318,7 @@ static struct poptOption long_options[] 
-   {"password-file",    0,  POPT_ARG_STRING, &password_file,   0, 0, 0 },
+   {"password-file",    0,  POPT_ARG_STRING, &password_file, 0, 0, 0 },
    {"ignore-times",    'I', POPT_ARG_NONE,   &ignore_times, 0, 0, 0 },
    {"size-only",        0,  POPT_ARG_NONE,   &size_only, 0, 0, 0 },
 +  {"date-only",        0,  POPT_ARG_NONE,   &date_only, 0, 0, 0 },
@@ -68,9 +68,9 @@ Jeremy Bornstein
  
        if (modify_window_set) {
                if (asprintf(&arg, "--modify-window=%d", modify_window) < 0)
---- rsync.yo   15 Apr 2004 18:32:24 -0000      1.157
-+++ rsync.yo   15 Apr 2004 19:06:15 -0000
-@@ -320,6 +320,7 @@
+--- rsync.yo   7 May 2004 00:18:37 -0000       1.169
++++ rsync.yo   8 May 2004 18:36:13 -0000
+@@ -320,6 +320,7 @@ verb(
       --timeout=TIME          set I/O timeout in seconds
   -I, --ignore-times          turn off mod time & file size quick check
       --size-only             ignore mod time for quick check (use size)
@@ -78,7 +78,7 @@ Jeremy Bornstein
       --modify-window=NUM     compare mod times with reduced accuracy
   -T  --temp-dir=DIR          create temporary files in directory DIR
       --compare-dest=DIR      also compare received files relative to DIR
-@@ -390,6 +391,12 @@
+@@ -392,6 +393,12 @@ already the same size and have the same 
  regardless of timestamp. This is useful when starting to use rsync
  after using another mirroring system which may not preserve timestamps
  exactly.