Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin-rm: use warning() instead of fprintf(stderr, "warning: ")
[gitweb.git]
/
builtin-add.c
diff --git
a/builtin-add.c
b/builtin-add.c
index 7ddb65932dd6ae11589c5063335b857ecd3298d9..cb67d2c17e4017e8deede61b30c0eb7c8c60ac1e 100644
(file)
--- a/
builtin-add.c
+++ b/
builtin-add.c
@@
-104,7
+104,7
@@
static void fill_directory(struct dir_struct *dir, const char **pathspec,
/* Set up the default git porcelain excludes */
memset(dir, 0, sizeof(*dir));
if (!ignored_too) {
- dir->
collect_ignored = 1
;
+ dir->
flags |= DIR_COLLECT_IGNORED
;
setup_standard_excludes(dir);
}