jj/lib
Martin von Zweigbergk cd4fbd3565 working_copy: add a reset() function for Git-like reset
We already have two usecases that can be modeled as updating the
`TreeState` without touching the working copy:

 1. `jj untrack` can be implemented as removing paths from the tree
    object and then doing a reset of the working copy state.

 2. Importing Git HEAD when sharing the working copy with a Git repo.

This patch adds that functionality to `TreeState`.
2022-01-19 08:32:59 -08:00
..
benches
protos
src working_copy: add a reset() function for Git-like reset 2022-01-19 08:32:59 -08:00
tests working_copy: add a reset() function for Git-like reset 2022-01-19 08:32:59 -08:00
build.rs
Cargo.toml