From e79bb901f3ef186198377c8c579b4acd43a40e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Caletka?= Date: Mon, 20 Aug 2018 16:37:08 +0200 Subject: [PATCH] $UNIXTIME doc update --- README.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 3f24e51..b415a9a 100644 --- a/README.rst +++ b/README.rst @@ -59,24 +59,22 @@ Support for $UNIXTIME directive If you want to use ``$UNIXTIME`` in your zone files instead of serial number, you have to install a `smudge` filter on the server, that will replace the -directive with current unix time on checkout. First, set up the filter in -the Git configuration: +directive with current unix time on every checkout. First, set up the filter +in the Git configuration: .. code-block:: shell $ git config --global filter.dzonegit.smudge $(which dzonegit-smudge-serial) - $ git config --global filter.dzonegit.clean cat -Then, apply the filter on all zone files using ``.gitattributes`` file inside -the repository: +Then, apply the filter on all zone files using either ``.git/info/attributes`` +or directly ``.gitattributes`` file inside the repository: .. code-block:: *.zone filter=dzonegit - Configuration options ---------------------