From 9f00c1b8d6e8a345aba4ec225d7d90a8a423d5f3 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 31 Mar 2008 13:05:52 +0200 Subject: [PATCH] Kill --exclude-patterns option. The same can be achieved by using the --rsync-option. --- dss.c | 5 ----- dss.ggo | 6 ------ 2 files changed, 11 deletions(-) diff --git a/dss.c b/dss.c index 413f88d..744efaf 100644 --- 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 --- 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" ################### -- 2.39.2