forked from mirrors/jj
5e356ffd24
Git reports a rename source as deleted if the rename target is excluded. I think that's because Git restricts the search space to the specified paths. For example, Git doesn't also recognize a rename if the source path is excluded whereas jj does. I don't think we need to copy the exact behavior of Git, so this patch just moves matcher application to earlier stage. This change will help remove collect_copied_sources(). The added get_copy_records() helper could be moved to jj_lib, but we'll probably want a stream version of this function in library, and writing a stream adapter isn't as simple as iterator. |
||
---|---|---|
.. | ||
examples | ||
src | ||
testing | ||
tests | ||
build.rs | ||
Cargo.toml | ||
LICENSE |