]> git.proxmox.com Git - libgit2.git/blobdiff - include/git2/filter.h
New upstream version 1.1.0+dfsg.1
[libgit2.git] / include / git2 / filter.h
index 436a0f3c87d5407aa877966db481cad0b7b01dcf..8860590515ca1e8f784d3774b333b512e75ab5b0 100644 (file)
@@ -40,7 +40,15 @@ typedef enum {
  */
 typedef enum {
        GIT_FILTER_DEFAULT = 0u,
+
+       /** Don't error for `safecrlf` violations, allow them to continue. */
        GIT_FILTER_ALLOW_UNSAFE = (1u << 0),
+
+       /** Don't load `/etc/gitattributes` (or the system equivalent) */
+       GIT_FILTER_NO_SYSTEM_ATTRIBUTES = (1u << 1),
+
+       /** Load attributes from `.gitattributes` in the root of HEAD */
+       GIT_FILTER_ATTRIBUTES_FROM_HEAD = (1u << 2),
 } git_filter_flag_t;
 
 /**