summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-07-19 11:09:38 -0700
committerJunio C Hamano <gitster@pobox.com>2010-07-19 11:09:38 -0700
commit8fbe9b32ce6f5e12ba3f8b9d4e3ccb0b8acf529f (patch)
treedbca21bec678543260588cc3e04cfcacfd8d9ac5 /dir.c
parent8ac3a66702c43386eb580b7a1a8b1a31cd675327 (diff)
parent108da0db1277fc2f4820d0a47c02b2c63111f7a5 (diff)
downloadgit-8fbe9b32ce6f5e12ba3f8b9d4e3ccb0b8acf529f.tar.gz
Merge branch 'jl/add-n-ignore-missing'
* jl/add-n-ignore-missing: git add: Add the "--ignore-missing" option for the dry run
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 151ea670d9..133f472a1e 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;