]> git.tuebingen.mpg.de Git - dss.git/commitdiff
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 413f88df90271603b344bd778fb8d3f4282a9520..744efaf0965f5a44c68d53d43163ae8dcbb6b209 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 5c3783774420c9297e3d970a3f61adf434ddd791..b5eeba8352b9c116b00565487c5af0389c14c6cd 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"
 ###################