gitoxide icon indicating copy to clipboard operation
gitoxide copied to clipboard

Make `gix::diff::tree::visit::Action` more like `gix_traverse::tree::visit::Action`

Open JacquesHumule opened this issue 1 month ago • 1 comments

Summary 💡

Permit to skip path in traversal for gix::diff::tree::Visit

Motivation 🔦

Enabling skipping in the diff visitor could reduce computation time, especially for scoped diff scenarios (e.g., git log <path>)

JacquesHumule avatar Nov 12 '25 08:11 JacquesHumule

Indeed, it's a major shortcoming, which thus far could be worked around pretty well. What's really needed here is full pathspec support. The engine for that exists, but the matching would need special care, particularly so that performance is as good as it can be in all cases.

Byron avatar Nov 13 '25 05:11 Byron