Commit 97bf86f8 authored by Wayne Davison's avatar Wayne Davison

Make sure that --delete-excluded does not elide a per-dir merge

filter file, while still dumping the .cvsignore file from -C.
parent 8c449e62
......@@ -1102,7 +1102,8 @@ static void send_rules(int f_out, struct filter_list_struct *flp)
elide = am_sender ? 1 : -1;
if (ent->match_flags & MATCHFLG_RECEIVER_SIDE)
elide = elide ? 0 : am_sender ? -1 : 1;
else if (delete_excluded && !elide)
else if (delete_excluded && !elide
&& (!(ent->match_flags & MATCHFLG_PERDIR_MERGE) || ent->match_flags & MATCHFLG_CVS_IGNORE))
elide = am_sender ? 1 : -1;
if (elide < 0) {
if (prev)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment