datalad-handbook / book

Sources for the DataLad handbook
http://handbook.datalad.org
Other
143 stars 56 forks source link

Typo in example for what to track in annex? #1225

Open sappelhoff opened 3 months ago

sappelhoff commented 3 months ago

Hi all! Is there a typo here?

https://github.com/datalad-handbook/book/blob/a23359d5eeb50d7431b635a7293e037044824981/docs/basics/101-123-config2.rst?plain=1#L96-L100

Should it be:

-   ** annex.largefiles(largerthan=20kb) 
+   ** annex.largefiles=(largerthan=20kb)

? (notice the =).

Adding the current line to my .gitattributes file gives me an error:

annex.largefiles(largerthan is not a valid attribute name: .gitattributes:3

... but when adding the = as in my example above, I don't get such an error.

welcome[bot] commented 3 months ago

Welcome Banner (Image: CC-BY license, The Turing Way Community, & Scriberia. Zenodo. https://doi.org/10.5281/zenodo.3332808) Hi there, and welcome to the DataLad Handbook! :orange_book: :wave: Thank you for filing an issue. We're excited to have your input and welcome your idea! :blush: If you haven't done so already, please make sure you check out our Code of Conduct.