From 46000c030896cb8efe820e762d9d12ee663b5936 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 24 Dec 2011 11:11:48 -0200 Subject: [PATCH] Make numericids defaults to null (fixes #3691) --- ChangeLog | 2 ++ handlers/rsync.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dd7418a..e1ac76d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ version 1.0 -- UNRELEASED handler changes + rysnc: + . Fix numericids option (Redmine#3691). dup: . Make the .dup generated by ninjahelper more consistent with example.dup. diff --git a/handlers/rsync.in b/handlers/rsync.in index 6c772e1..cc255a3 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -887,7 +887,7 @@ function set_filelist { function set_rsync_options { - if [ ! -z "$numericids" ]; then + if [ "$numericids" != "0" ]; then rsync_options="$rsync_options --numeric-ids" fi