X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=dir.c;h=133f472a1e73786e781c1021eea17e543858937f;hb=e6c111b4c092c0dd24c541b9721f5bc04641dcb0;hp=151ea670d961d39394990f122469557b6f217de3;hpb=609eb9f7ff2af45d52ea90c0678a442d46aaa163;p=git.git diff --git a/dir.c b/dir.c index 151ea670d..133f472a1 100644 --- a/dir.c +++ b/dir.c @@ -453,7 +453,7 @@ static struct dir_entry *dir_add_name(struct dir_struct *dir, const char *pathna return dir->entries[dir->nr++] = dir_entry_new(pathname, len); } -static struct dir_entry *dir_add_ignored(struct dir_struct *dir, const char *pathname, int len) +struct dir_entry *dir_add_ignored(struct dir_struct *dir, const char *pathname, int len) { if (!cache_name_is_other(pathname, len)) return NULL;