ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Yuya Nishihara faa9b8d77f cli: run "op abandon" without loading repo, reject --at-op
If indexing failed due to missing commit objects, the repo won't be loadable
without --ignore-working-copy (at least in colocated environment.) In that
case, we can use "op abandon" to recover, but we had to work around the failed
index loading by --ignore-working-copy. Since "op abandon" isn't a repo-level
command, it's better to bypass working-copy snapshot and import of git refs at
all.

--at-op is rejected because it's useless and we'll need extra care for "@"
expression resolution and working-copy updates.
2024-01-12 08:01:13 +09:00
..
examples transaction: take description at end instead of start 2023-12-13 08:12:49 -08:00
src cli: run "op abandon" without loading repo, reject --at-op 2024-01-12 08:01:13 +09:00
testing fake_diff_editor: Allow specifying extra arguments to be ignored 2023-08-21 20:19:15 -07:00
tests cli: run "op abandon" without loading repo, reject --at-op 2024-01-12 08:01:13 +09:00
build.rs build: update rerun-if conditions to watch .git/HEAD in colocated repo 2023-08-06 12:16:11 +09:00
Cargo.toml cargo: sort dependencies list alphabetically 2023-11-07 23:46:05 +09:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00