768 |
snprintf(fid, sizeof(fid), "%d", i); |
snprintf(fid, sizeof(fid), "%d", i); |
769 |
if ((path = gpath_fid2path(fid, &other)) == NULL) |
if ((path = gpath_fid2path(fid, &other)) == NULL) |
770 |
continue; |
continue; |
771 |
if (!test("f", path)) { |
if (other) { |
772 |
if (other) { |
if (!test("f", path) || test("b", path)) |
773 |
strbuf_puts0(deletelist_other, path); |
strbuf_puts0(deletelist_other, path); |
774 |
} else { |
} else { |
775 |
|
if (!test("f", path)) { |
776 |
strbuf_puts0(deletelist, path); |
strbuf_puts0(deletelist, path); |
777 |
idset_add(deleteset, i); |
idset_add(deleteset, i); |
778 |
} |
} |