git.samba.org
/
rsync.git
/
patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5048ddf
)
Don't allow json output on the server side.
author
Wayne Davison
<wayne@opencoder.net>
Fri, 9 Sep 2022 19:54:45 +0000
(12:54 -0700)
committer
Wayne Davison
<wayne@opencoder.net>
Fri, 9 Sep 2022 19:54:45 +0000
(12:54 -0700)
json-version.diff
patch
|
blob
|
history
diff --git
a/json-version.diff
b/json-version.diff
index 1343902469b88164acb13482ee556b646ce2f6a3..08e80439e9a1c4d403c1b07ef530629614c9bbc0 100644
(file)
--- a/
json-version.diff
+++ b/
json-version.diff
@@
-7,7
+7,7
@@
To use this patch, run these commands for a successful build:
./configure (optional if already run)
make
-based-on:
db5bfe67a5d022f9ad25340db6bc2cca2cbbdb65
+based-on:
24174f9a96b191bff8f9420573de468a769c2ed9
diff --git a/options.c b/options.c
--- a/options.c
+++ b/options.c
@@
-16,7
+16,7
@@
diff --git a/options.c b/options.c
if (version_opt_cnt) {
- print_rsync_version(FINFO);
-+ print_rsync_version(FINFO, version_opt_cnt > 1);
++ print_rsync_version(FINFO, version_opt_cnt > 1
&& !am_server
);
exit_cleanup(0);
}