Kill --exclude-patterns option.
authorAndre Noll <maan@congo.fml.local>
Mon, 31 Mar 2008 11:05:52 +0000 (13:05 +0200)
committerAndre Noll <maan@congo.fml.local>
Mon, 31 Mar 2008 11:05:52 +0000 (13:05 +0200)
The same can be achieved by using the --rsync-option.

dss.c
dss.ggo

diff --git a/dss.c b/dss.c
index 413f88d..744efaf 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -705,11 +705,6 @@ static void create_rsync_argv(char ***argv, int64_t *num)
                free(newest);
        } else
                DSS_INFO_LOG("no previous snapshot found\n");
-       if (conf.exclude_patterns_given) {
-               (*argv)[i++] = dss_strdup("--exclude-from");
-               (*argv)[i++] = dss_strdup(conf.exclude_patterns_arg);
-
-       }
        logname = dss_logname();
        if (conf.remote_user_given && !strcmp(conf.remote_user_arg, logname))
                (*argv)[i++] = dss_strdup(conf.source_dir_arg);
diff --git a/dss.ggo b/dss.ggo
index 5c37837..b5eeba8 100644 (file)
--- a/dss.ggo
+++ b/dss.ggo
@@ -188,12 +188,6 @@ details="
        to that option are passed verbatim to the rsync command.
 "
 
-option "exclude-patterns" e
-#~~~~~~~~~~~~~~~~~~~~~~~~~~
-"Rsync exclude patterns"
-string typestr="path"
-optional
-
 ###################
 section "Intervals"
 ###################