diff options
author | Elijah Newren <newren@gmail.com> | 2011-08-11 23:19:57 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-14 14:19:35 -0700 |
commit | f2507b4e0ef0b7fc8c1e75004e8a86a0430dc512 (patch) | |
tree | 8d5f55c41b8425d24eee9138517bd219bbb5bf53 /merge-recursive.h | |
parent | f0fd4d05e8a17fe5ccdd4d3edd686bc6702b8144 (diff) | |
download | git-f2507b4e0ef0b7fc8c1e75004e8a86a0430dc512.tar.gz |
merge-recursive: Fix code checking for D/F conflicts still being present
Previously, we were using lstat() to determine if a directory was still
present after a merge (and thus in the way of adding a file). We should
have been using lstat() only to determine if untracked directories were in
the way (and then only when necessary to check for untracked directories);
we should instead using the index to determine if there is a tracked
directory in the way. Create a new function to do this and use it to
replace the existing checks for directories being in the way.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-recursive.h')
0 files changed, 0 insertions, 0 deletions