Displaying 2 results from an estimated 2 matches for "e5b0cb68".
2019 Jun 26
2
Allow "--in-place" as an alternative option name for "--inplace"
...est this
simple patch:
commit 5689f99b702788044a45e13582559832cf986328
Author: Jan-Benedict Glaw <jbglaw at lug-owl.de>
Date: Wed Jun 26 22:49:31 2019 +0200
Allow "--in-place" as an alternative option name for "--inplace".
diff --git a/options.c b/options.c
index e5b0cb68..7ff0c51d 100644
--- a/options.c
+++ b/options.c
@@ -926,6 +926,7 @@ static struct poptOption long_options[] = {
{"no-S", 0, POPT_ARG_VAL, &sparse_files, 0, 0, 0 },
{"preallocate", 0, POPT_ARG_NONE, &preallocate_files, 0, 0, 0},
{"in...
2020 Feb 09
3
[draft PATCH] whitelist support for refuse options
...nt to use, it'd be nice to enforce that on the server side
without listing every other option in "refuse options".
---
options.c | 114 +++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 82 insertions(+), 32 deletions(-)
diff --git a/options.c b/options.c
index e5b0cb68..02d1b174 100644
--- a/options.c
+++ b/options.c
@@ -1133,39 +1133,101 @@ static void set_refuse_options(char *bp)
{
struct poptOption *op;
char *cp, shortname[2];
- int is_wild, found_match;
+ int is_wild, found_match, whitelist_mode, archive_whitelisted;
shortname[1] = '\0';
+ wh...