summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-11-04 19:38:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-11-04 19:41:11 -0400
commit0bb798e3516d5b4e8cdcf059572c54641f7a643a (patch)
tree53ce7cb313172ea22829c5f680929093bfbae6e0
parent502f86604fd90d6f52236b38612a39ec6e713be7 (diff)
Pass -t to rsync to preserve timestamps.
-rw-r--r--Utility/RsyncFile.hs2
-rw-r--r--debian/changelog1
2 files changed, 3 insertions, 0 deletions
diff --git a/Utility/RsyncFile.hs b/Utility/RsyncFile.hs
index 056bd8d11..c5006a30f 100644
--- a/Utility/RsyncFile.hs
+++ b/Utility/RsyncFile.hs
@@ -35,6 +35,8 @@ rsyncServerParams =
[ Param "--server"
-- preserve permissions
, Param "-p"
+ -- preserve timestamps
+ , Param "-t"
-- allow resuming of transfers of big files
, Param "--inplace"
-- other options rsync normally uses in server mode
diff --git a/debian/changelog b/debian/changelog
index e74a190ba..07bfca7a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ git-annex (3.20111026) UNRELEASED; urgency=low
* Record uuid when auto-initializing a remote so it shows in status.
* Bugfix: Fixed git-annex init crash in a bare repository when there was
already an existing git-annex branch.
+ * Pass -t to rsync to preserve timestamps.
-- Joey Hess <joeyh@debian.org> Thu, 27 Oct 2011 13:58:53 -0400