diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-05-20 20:13:45 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-05-20 20:14:31 -0400 |
commit | cbfeecf33f4e3e23370687ef92591f3206d4c58f (patch) | |
tree | b8839d51d36079cad78a606efaefbd83a3682574 /src/index.c | |
parent | fa9a969d80a44a1f6d4ef733be0223b94db1b213 (diff) | |
download | libgit2-cbfeecf33f4e3e23370687ef92591f3206d4c58f.tar.gz |
git_index_add_all: don't recurse ignored dirs
No need to get reports about individual ignored files, having a
single ignored directory delta is enough.
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.c b/src/index.c index 7c0e6cfbc..561fe73c4 100644 --- a/src/index.c +++ b/src/index.c @@ -2684,8 +2684,7 @@ static int index_apply_to_wd_diff(git_index *index, int action, const git_strarr opts.flags = GIT_DIFF_INCLUDE_TYPECHANGE; if (action == INDEX_ACTION_ADDALL) { opts.flags |= GIT_DIFF_INCLUDE_UNTRACKED | - GIT_DIFF_RECURSE_UNTRACKED_DIRS | - GIT_DIFF_RECURSE_IGNORED_DIRS; + GIT_DIFF_RECURSE_UNTRACKED_DIRS; if (flags == GIT_INDEX_ADD_FORCE) opts.flags |= GIT_DIFF_INCLUDE_IGNORED; |