ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Kevin Liao 69edc7f2df Update jj edit <commit> to add commit into view heads if not already
`jj new <commit>` automatically adds the checked out commits into the view head ids. However,
`jj edit` does not.

To reproduce:
```
jj git init test
cd test
jj commit -m "my commit"
jj log -r @- -T commit_id # Save the id
jj abandon -r @-
jj edit <saved_id>

jj log -r :: # Does not show the currently editing commit 
```
2024-09-10 11:01:49 -07:00
..
benches formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
gen-protos
proc-macros formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
src Update jj edit <commit> to add commit into view heads if not already 2024-09-10 11:01:49 -07:00
tests Update jj edit <commit> to add commit into view heads if not already 2024-09-10 11:01:49 -07:00
testutils tests: remove temporary copy of workspace.repo_path() from TestWorkspace 2024-09-08 05:40:52 +09:00
Cargo.toml cargo: add "clru" dependency 2024-08-29 23:33:37 +09:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00