summaryrefslogtreecommitdiff
path: root/src/attr.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-08-21 17:26:39 -0700
committerRussell Belfer <rb@github.com>2012-08-21 17:26:39 -0700
commitf004c4a8a78ec1ac109b0a0c78cdebe47a5df215 (patch)
treef2732930c45178bb091c6e76e9b24472aed18d8a /src/attr.h
parentb2be351aaddc6ba0b3a0f2cf4e09536a3b27e598 (diff)
downloadlibgit2-f004c4a8a78ec1ac109b0a0c78cdebe47a5df215.tar.gz
Add public API for internal ignores
This creates a public API for adding to the internal ignores list, which already existing but was not accessible. This adds the new default value for core.excludesfile also.
Diffstat (limited to 'src/attr.h')
-rw-r--r--src/attr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attr.h b/src/attr.h
index a35b1160f..78cfb57c6 100644
--- a/src/attr.h
+++ b/src/attr.h
@@ -12,6 +12,7 @@
#define GIT_ATTR_CONFIG "core.attributesfile"
#define GIT_IGNORE_CONFIG "core.excludesfile"
+#define GIT_IGNORE_CONFIG_DEFAULT ".config/git/ignore"
typedef struct {
int initialized;