mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
It's wrong to deduce loaded_at_head from command-line arguments if the repo was loaded at an arbitrary operation. Instead, the caller should specify whether the working copy state is synchronized with the repo view. I think .for_loaded_repo(ui, workspace, repo, true) would be bad for readability, so I added separate functions. I'm not happy with the name .for_temporary_repo(), but it seems okay for the current call sites. |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| testing | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||
| LICENSE | ||