# Git Attributes Filter Equivalent

**URL:** <https://discourse.pijul.org/t/git-attributes-filter-equivalent/628>\
**Category:** Development\
**Created:** [November 27, 2020, 2:34pm UTC](https://discourse.pijul.org/t/git-attributes-filter-equivalent/628 "2020-11-27T14:34:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theduke](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@theduke](https://discourse.pijul.org/u/theduke)\
**Post date:** [November 27, 2020, 2:34pm UTC](https://discourse.pijul.org/t/git-attributes-filter-equivalent/628/1 "2020-11-27T14:34:09Z")

</div>

Git provides a mechanism to modify file contents before they are checked out or comitted.

This is very useful for tools like [git-crypt](https://github.com/AGWA/git-crypt), which transparently de/encrypt files in the repo (when specified in a `.gitattributes` file ).

Is there some similar functionality planned for Pijul?

If not it would be great to take this use case into account.

(Git documenation: [https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes](https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes))

---

<div class="post-metadata">

**Author:** ![pmeunier](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/pmeunier/32/4_2.png) [@pmeunier](https://discourse.pijul.org/u/pmeunier)\
**Post date:** [November 27, 2020, 5:02pm UTC](https://discourse.pijul.org/t/git-attributes-filter-equivalent/628/2 "2020-11-27T17:02:35Z")

</div>

This would be fantastic indeed. A primary use case would be syntactic patches, where code blocks are stored outside of files, and files are just lists of pointers to them.
