Prechádzať zdrojové kódy

cross-reference the status oddity in the usage

Antoine Beaupré 9 rokov pred
rodič
commit
48bb4c326d
2 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 2 0
      docs/faq.rst
  2. 1 1
      docs/usage.rst

+ 2 - 0
docs/faq.rst

@@ -165,6 +165,8 @@ Yes, if you want to detect accidental data damage (like bit rot), use the
 If you want to be able to detect malicious tampering also, use a encrypted
 repo. It will then be able to check using CRCs and HMACs.
 
+.. _a_status_oddity:
+
 I am seeing 'A' (added) status for a unchanged file!?
 -----------------------------------------------------
 

+ 1 - 1
docs/usage.rst

@@ -444,7 +444,7 @@ A uppercase character represents the status of a regular file relative to the
 is not used). Metadata is stored in any case and for 'A' and 'M' also new data
 chunks are stored. For 'U' all data chunks refer to already existing chunks.
 
-- 'A' = regular file, added
+- 'A' = regular file, added (see also :ref:`a_status_oddity` in the FAQ)
 - 'M' = regular file, modified
 - 'U' = regular file, unchanged
 - 'E' = regular file, an error happened while accessing/reading *this* file