mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
1dc25648bf
Summary: I'm reworking some of our case conflict handling, and as part of this, I'm going to be using check_case_conflicts for all our checking of case conflicts, and notably for the case where we introduce a new commit and check it against its parent (which, right now, does not check for case conflicts). To do this and provide a good user experience (i.e. indicate which files conflicted and with what), I need `check_case_conflicts` to report what files the change conflicts with. This is what this diff does. This does mean a few more allocations, so I "paid those off" by updating our case lowering to allocate one fewer Vec and one fewer String per MPathElement being lowercased. Reviewed By: StanislavGlebik Differential Revision: D24305562 fbshipit-source-id: 8ac14466ba3e84a3ee3d9216a84c2d9125a51b86 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |